summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/asm.js/testBug1359612.js
blob: f2a2255322b6f96c236decc844482a15bb419cfe (plain)
1
2
3
4
5
6
7
8
9
load(libdir + 'asm.js');

asmLink(asmCompile('stdlib', 'foreign', USE_ASM + `
  var ff = foreign.ff;
  function f() {
      ff(+1);
  }
  return f
`), this, { ff: Math.log1p });