comparison: js/src/jit-test/tests/asm.js/testBug893519.js
js/src/jit-test/tests/asm.js/testBug893519.js
- changeset 0
- 6474c204b198
equal
deleted
inserted
replaced
|
1 var g = newGlobal(); |
|
2 evaluate("function h() { function f() { 'use asm'; function g() { return 42 } return g } return f }", { compileAndGo:false, global:g}); |
|
3 var h = clone(g.h); |
|
4 assertEq(h()()(), 42); |