summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/range-analysis-bug1122402.js
blob: 62e52e9e7125d35459c0819fb7d41aa2f264802e (plain)
1
2
3
4
5
6
7
8
9
10
11
// |jit-test| error:TypeError

(function() {
   let r
   g = function(x) {
     ((-0x80000000 + (x >>> 0)) != 0) ? 0 : x()
   }
})()

g(NaN)
g(0x80000000);