summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/asm.js/bug1276028.js
blob: 6ef823e2473b0aa742436c275817c4dc07bdfcdf (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);
enableGeckoProfiling();
assertEq(f(), 42);