var x = -false;
print(-x === x);
32-bit build: false
64-bit build: true
Does not need any jitflags. Noticed this first in the shell but can reproduce with latest tinderbox build.
(In reply to comment #0)
> 32-bit build: false
> 64-bit build: true
Oops, 32-bit is true and 64-bit false.
StrictlyEqual calls SameType and this returns false, even though lval.isDouble() and rval.isDouble() are both true. Could this be a fatvals regression?
Created attachment 527737 [details] [diff] [review]
Created attachment 527770 [details] [diff] [review]
Added some tests for ==/!=.
Comment on attachment 527770 [details] [diff] [review]
Wow, that's incredible that this made it so far without being detected. Thanks for fixing it!