comparison: js/src/jit-test/tests/asm.js/bug885976.js
js/src/jit-test/tests/asm.js/bug885976.js
- changeset 0
- 6474c204b198
equal
deleted
inserted
replaced
|
1 // |jit-test| error: TypeError |
|
2 function test(stdlib, foreign) { |
|
3 "use asm" |
|
4 var ff = foreign.ff |
|
5 function f(y) { |
|
6 y = +y; |
|
7 ff(0); |
|
8 } |
|
9 return f; |
|
10 }; |
|
11 f = test(this, {ff: Object.preventExtensions}); |
|
12 f(); |