summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/asm.js/testBug1111327.js
blob: dc1ff6c515b9687f9783baf2fe7ed55209bace43 (plain)
1
2
3
4
5
6
7
8
9
10
11
load(libdir + "asm.js");

// Single-step profiling currently only works in the ARM simulator
if (!getBuildConfiguration()["arm-simulator"])
    quit();

enableSPSProfiling();
enableSingleStepProfiling();
var m = asmCompile(USE_ASM + 'function f() {} return f');
asmLink(m)();
asmLink(m)();