summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/asm.js/testTimeout5.js
blob: 446db0cb9b1b66eda54191e1185c9748f65c2052 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// |jit-test| exitstatus: 6; skip-if: getBuildConfiguration("wasi")

load(libdir + "asm.js");

enableGeckoProfiling();

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);