Chromium Code Reviews
DescriptionFix bug with range of shift operations.
A shift can only deoptimize if the rhs is negative: This is the
case if the range of the rhs is not contained within [0, +inf].
!range->IsPositive() is _not_ the same as range->IsNegative(). I find
these names confusing and we should find better alternatives.
R=vegorov@google.com
Committed: https://code.google.com/p/dart/source/detail?r=37176
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Messages
Total messages: 6 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||