summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug669575-2.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/ion/bug669575-2.js')
-rw-r--r--js/src/jit-test/tests/ion/bug669575-2.js27
1 files changed, 27 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/ion/bug669575-2.js b/js/src/jit-test/tests/ion/bug669575-2.js
new file mode 100644
index 000000000..d61e99203
--- /dev/null
+++ b/js/src/jit-test/tests/ion/bug669575-2.js
@@ -0,0 +1,27 @@
+function loopy(p0)
+{
+ var r1 = p0;
+ var r2 = p0;
+ var r3 = p0;
+ var r4 = p0;
+ var r5 = p0;
+ var r6 = p0;
+ var r7 = p0;
+
+ while (r2) {
+ while (r2) {
+ r1 = r4;
+ r5 = r6 & r1;
+ r3 = r4 & r3;
+ }
+ while (r2) {
+ r6 = r2;
+ r3 = r7;
+ }
+ }
+
+ return 0;
+}
+loopy(0);
+
+