--- var y = -null - y; assertEq(y, NaN); --- Assertion failure: op == JSOP_DIV, at ../methodjit/FastArithmetic.cpp:389
This fixes the Compiler to abort and retry in case of static overflow, instead of skipping the fold and proceeding as normal. This approach is still kind of lame; the best thing to do is get the emitter to do constant and copy propagation. http://hg.mozilla.org/projects/jaegermonkey/rev/c247104a1499
Assignee: general → bhackett1024
You need to log in before you can comment on or make changes to this bug.