diff options
Diffstat (limited to 'js/src/jit-test/tests/ion/recover-typed-array.js')
-rw-r--r-- | js/src/jit-test/tests/ion/recover-typed-array.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/ion/recover-typed-array.js b/js/src/jit-test/tests/ion/recover-typed-array.js new file mode 100644 index 000000000..9a48a2018 --- /dev/null +++ b/js/src/jit-test/tests/ion/recover-typed-array.js @@ -0,0 +1,13 @@ +function f () { + var x = new Uint8Array(4); + empty(); + assertRecoveredOnBailout(x, true); + var res = inIon(); + bailout(); + return res; +} + +function empty() { +} + +while(!f()); |