FTL ArithNeg Int32Use doesn't check negative zero
authorfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Sep 2013 22:34:29 +0000 (22:34 +0000)
committerfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Sep 2013 22:34:29 +0000 (22:34 +0000)
commitc7ad94609f79d9eacfb45aa0bf3e2cad12c7f40c
tree73b98fa359bdc07858636e1c141653c8cd9987f6
parentbb08ccd288935ec60b329cb68c5ba1dcb4e8be91
FTL ArithNeg Int32Use doesn't check negative zero
https://bugs.webkit.org/show_bug.cgi?id=120900

Reviewed by Mark Hahnenberg.

Source/JavaScriptCore:

* ftl/FTLLowerDFGToLLVM.cpp:
(JSC::FTL::LowerDFGToLLVM::compileArithNegate):

LayoutTests:

* fast/js/regress/script-tests/negative-zero-modulo.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@155220 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/js/regress/script-tests/negative-zero-modulo.js
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/ftl/FTLLowerDFGToLLVM.cpp