DescriptionFixed constant folding in HMod.
We have to check for overflow before attempting to do a modulo operation,
otherwise Crankshaft itself segfaults on some platforms, e.g. ia32. Added tests
even for division, where the problem doesn't show up, just to be sure...
R=mvstanton@chromium.org
Committed: http://code.google.com/p/v8/source/detail?r=14629
Patch Set 1 #Patch Set 2 : Improved fix and test #
Total comments: 2
Patch Set 3 : Rebased. Fixed unit test. #
Messages
Total messages: 4 (0 generated)
|