summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/asm.js/testTimeout6.js
blob: 4ae0a037e0beef6033facb466f9f769b8c958b80 (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 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);