summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/asm.js/testTimeout6.js
blob: 5390ae83d2dd3606071c42441815c6c02712d3a7 (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 g() { var i=0; while (1) { i=(i+1)|0 } } function f() { g() } return f"));
timeout(1);
if (getBuildConfiguration("arm-simulator"))
    enableSingleStepProfiling();
f();
assertEq(true, false);