diff options
Diffstat (limited to 'js/src/jit-test/tests/jaeger/recompile/bug647199.js')
-rw-r--r-- | js/src/jit-test/tests/jaeger/recompile/bug647199.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/jaeger/recompile/bug647199.js b/js/src/jit-test/tests/jaeger/recompile/bug647199.js new file mode 100644 index 000000000..b9d330f8f --- /dev/null +++ b/js/src/jit-test/tests/jaeger/recompile/bug647199.js @@ -0,0 +1,11 @@ +TryInWhile( new TryObject( "hello", ThrowException, true ) ); +function TryObject( value, throwFunction, result ) { + this.thrower=throwFunction +} +function ThrowException() TryInWhile(1); +function TryInWhile( object ) { + try { + object.thrower() + } catch ( e ) { + } +} |