summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/asm.js/bug1276028.js
blob: 16f56406095e6da497dd235d746a1e2d3b76b2f8 (plain)
1
2
3
4
5
6
load(libdir + "asm.js");

var f = asmLink(asmCompile(USE_ASM + "function a234567() { return 42 } return a234567"));
assertEq(f(), 42);
enableSPSProfiling();
assertEq(f(), 42);