diff options
Diffstat (limited to 'js/src/jit-test/tests/auto-regress/bug489836.js')
-rw-r--r-- | js/src/jit-test/tests/auto-regress/bug489836.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/auto-regress/bug489836.js b/js/src/jit-test/tests/auto-regress/bug489836.js new file mode 100644 index 000000000..ba105cb5a --- /dev/null +++ b/js/src/jit-test/tests/auto-regress/bug489836.js @@ -0,0 +1,13 @@ +// Binary: cache/js-dbg-32-1a1611bb1063-linux +// Flags: -j +// +var e; +function w(f, y) { + e = 2 * f; + for (var i = 0; i < 1; i++) { + } +} +for (var u = 0; u < 4; ++u) { + w(undefined, 0); + w(1, (2) * 2); +} |