summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/SIMD/bug1296640-gc-args.js
blob: 4dbe9541067ab84b66a41a3c207b2b933c5888d8 (plain)
1
2
3
4
5
6
7
8
9
if (typeof gczeal === 'undefined' || typeof SIMD === 'undefined') {
    quit();
}

gczeal(9, 2);
var Int8x16 = SIMD.Int8x16;
var v = Int8x16();
var good = { valueOf: () => 21 };
Int8x16.shiftLeftByScalar(v, good);