summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/loops/bug654393.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/jaeger/loops/bug654393.js')
-rw-r--r--js/src/jit-test/tests/jaeger/loops/bug654393.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/jaeger/loops/bug654393.js b/js/src/jit-test/tests/jaeger/loops/bug654393.js
new file mode 100644
index 000000000..e603392a4
--- /dev/null
+++ b/js/src/jit-test/tests/jaeger/loops/bug654393.js
@@ -0,0 +1,12 @@
+var VERSION = "ECMA_2";
+DoWhile(
+ new DoWhileObject(false, false, false, VERSION)
+);
+function DoWhileObject( out1, out2, out3, in1 ) {
+ this.breakIn = in1
+}
+function DoWhile(object) {
+ do {
+ if (object.breakIn) {}
+ } while(false);
+}