summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/recompile/bug647199.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/jaeger/recompile/bug647199.js')
-rw-r--r--js/src/jit-test/tests/jaeger/recompile/bug647199.js11
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 0000000000..d8ad7994a6
--- /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() { return TryInWhile(1); }
+function TryInWhile( object ) {
+ try {
+ object.thrower()
+ } catch ( e ) {
+ }
+}