blob: dc1ff6c515b9687f9783baf2fe7ed55209bace43 [file] [log] [blame]
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)();