js/src/jit-test/tests/asm.js/bug928450.js

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 (function() {
     2     "use asm";
     3     function f() {
     4         i((1.5 != 2.) ? 3 : 0);
     5     }
     6     return f;
     7 })();
     9 // Bug 933104
    10 (function() {
    11     "use asm";
    12     function f(x) {
    13         x = +x;
    14         x = -2.;
    15         (x > -1.5) ? 0 : 0;
    16     }
    17     return f;
    18 })()

mercurial