summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/bug563000/eif-call.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/jaeger/bug563000/eif-call.js')
-rw-r--r--js/src/jit-test/tests/jaeger/bug563000/eif-call.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/jaeger/bug563000/eif-call.js b/js/src/jit-test/tests/jaeger/bug563000/eif-call.js
new file mode 100644
index 000000000..eff548c8b
--- /dev/null
+++ b/js/src/jit-test/tests/jaeger/bug563000/eif-call.js
@@ -0,0 +1,11 @@
+load(libdir + "evalInFrame.js");
+
+function callee() {
+ evalInFrame(1, "x = 'success'");
+}
+function caller() {
+ var x = "failure";
+ callee();
+ return x;
+}
+assertEq(caller(), "success");