diff options
Diffstat (limited to 'js/src/jit-test/tests/ion/bug1105574-ra-sink.js')
-rw-r--r-- | js/src/jit-test/tests/ion/bug1105574-ra-sink.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/ion/bug1105574-ra-sink.js b/js/src/jit-test/tests/ion/bug1105574-ra-sink.js new file mode 100644 index 000000000..d67966081 --- /dev/null +++ b/js/src/jit-test/tests/ion/bug1105574-ra-sink.js @@ -0,0 +1,11 @@ + +function f1(x) { + assertEq(Math.tan((((x >>> 0) | 0) >>> 0) | 0, f2()) < -1, !!x); +} +var f2 = function() { }; + +f1(0); +f2 = function() { }; +f1(0); +f1(0); +f1(-1); |