summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/asm.js/bug928450.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/asm.js/bug928450.js')
-rw-r--r--js/src/jit-test/tests/asm.js/bug928450.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/asm.js/bug928450.js b/js/src/jit-test/tests/asm.js/bug928450.js
new file mode 100644
index 000000000..a12036735
--- /dev/null
+++ b/js/src/jit-test/tests/asm.js/bug928450.js
@@ -0,0 +1,18 @@
+(function() {
+ "use asm";
+ function f() {
+ i((1.5 != 2.) ? 3 : 0);
+ }
+ return f;
+})();
+
+// Bug 933104
+(function() {
+ "use asm";
+ function f(x) {
+ x = +x;
+ x = -2.;
+ (x > -1.5) ? 0 : 0;
+ }
+ return f;
+})()