summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/asm.js/testTimeout5.js
blob: 02524e4ec34781ec6caa77bebe92b8920fce93ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// |jit-test| exitstatus: 6;

load(libdir + "asm.js");

enableSPSProfiling();

var f = asmLink(asmCompile('glob', 'ffis', 'buf', USE_ASM + "function f() { var i=0; while (1) { i=(i+1)|0 } } return f"));
timeout(1);
if (getBuildConfiguration()["arm-simulator"])
    enableSingleStepProfiling();
f();
assertEq(true, false);