summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/asm.js/testBug1111327.js
blob: 340de77e1a07ff6f136b3ce8886a4f1832052b50 (plain)
1
2
3
4
5
6
7
8
9
10
// |jit-test| skip-if: !getBuildConfiguration("arm-simulator")
// Single-step profiling currently only works in the ARM simulator

load(libdir + "asm.js");

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