summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-961877.js
blob: 697f6c197c59fb845d83724f65c49c3da78ee7eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
g = Function("", "for (var i = 0; i < 0; ++i) { eval('this.arg'+0 +'=arg'+0); }");
Math.abs(undefined);
gczeal(2,300);
evaluate("\
var toFloat32 = (function() {\
    var f32 = new Float32Array(1);\
    function f(x) f32[0] = x;\
    return f;\
})();\
for (var i = 0; i < 64; ++i) {\
    var p = Math.pow(2, i) + 1;\
    g(toFloat32(p));\
    toFloat32(-p);\
}");