summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/baseline/bug940972.js
blob: 21def5681242a4915463f07074b47e2f1ef31c1d (plain)
1
2
3
4
5
setJitCompilerOption("baseline.warmup.trigger", 0);
var arr = new Uint8ClampedArray(1);
for (var i = 0; i < 2; ++i)
    arr[0] = 4294967296;
assertEq(arr[0], 255);