https://codereview.chromium.org/312173002/diff/1/src/arm/lithium-arm.cc
File src/arm/lithium-arm.cc (right):

https://codereview.chromium.org/312173002/diff/1/src/arm/lithium-arm.cc#newcode809
src/arm/lithium-arm.cc:809: constant_value = constant->Integer32Value()
& 0x1f;
On 2014/06/10 11:53:37, ulan wrote:
Use JSShiftAmountFromHConstant?

Done.

https://codereview.chromium.org/312173002/diff/1/src/arm/lithium-codegen-arm.cc
File src/arm/lithium-codegen-arm.cc (right):

https://codereview.chromium.org/312173002/diff/1/src/arm/lithium-codegen-arm.cc#newcode1731
src/arm/lithium-codegen-arm.cc:1731: right = ToOperand(right_op);
On 2014/06/10 11:53:37, ulan wrote:
Doesn't ToShiftedRightOperand take care of this case?

It does. Removed the constant case.

https://codereview.chromium.org/312173002/diff/1/src/arm/lithium-codegen-arm.cc#newcode1793
src/arm/lithium-codegen-arm.cc:1793: uint8_t shift_count =
static_cast<uint8_t>(value & 0x1F);
On 2014/06/10 11:53:37, ulan wrote:
The original CL used JSShiftAmountFromLConstant here and in other
places.

Done.

https://codereview.chromium.org/312173002/

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to