diff options
Diffstat (limited to '')
-rw-r--r-- | js/src/jit-test/tests/ion/bug669575-2.js | 27 |
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 0000000000..d61e992039 --- /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); + + |