diff options
Diffstat (limited to 'js/src/jit-test/tests/ion/bug691603.js')
-rw-r--r-- | js/src/jit-test/tests/ion/bug691603.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/ion/bug691603.js b/js/src/jit-test/tests/ion/bug691603.js new file mode 100644 index 000000000..6c27b80e8 --- /dev/null +++ b/js/src/jit-test/tests/ion/bug691603.js @@ -0,0 +1,11 @@ +// |jit-test| error: ReferenceError +function bitsinbyte(b) { + while(m<0x100) { } +} +function TimeFunc(func) { + for(var y=0; y<256; y++) func(y); +} +function nestedExit2() { + TimeFunc(bitsinbyte); +} +assertEq(nestedExit2(), "ok"); |