summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/SIMD/bug1109911.js
blob: 23a5c5721d80d1492a1113685496c99f9343d420 (plain)
1
2
3
4
5
6
7
8
9
10
11
if (typeof TypedObject === "undefined" || typeof SIMD === 'undefined')
  quit();

var Int32x4 = SIMD.Int32x4;
var a = Int32x4((4294967295), 200, 300, 400);
addCase( new Array(Math.pow(2,12)) );
for ( var arg = "", i = 0; i < Math.pow(2,12); i++ ) {}
addCase( a );
function addCase(object) {
  object.length
}