| Index: src/arm/lithium-codegen-arm.h
|
| diff --git a/src/arm/lithium-codegen-arm.h b/src/arm/lithium-codegen-arm.h
|
| index b20b3f28f8b7c32caa12a4c3fb627620c09d4259..aa98c5b18d7199a7708613d1245f127637c49237 100644
|
| --- a/src/arm/lithium-codegen-arm.h
|
| +++ b/src/arm/lithium-codegen-arm.h
|
| @@ -86,6 +86,13 @@ class LCodeGen: public LCodeGenBase {
|
| // Returns a MemOperand pointing to the high word of a DoubleStackSlot.
|
| MemOperand ToHighMemOperand(LOperand* op) const;
|
|
|
| + template<class LI>
|
| + Operand ToShiftedRightOperand(LOperand* right, LI* shift_info);
|
| +
|
| + int JSShiftAmountFromLConstant(LOperand* constant) {
|
| + return ToInteger32(LConstantOperand::cast(constant)) & 0x1f;
|
| + }
|
| +
|
| bool IsInteger32(LConstantOperand* op) const;
|
| bool IsSmi(LConstantOperand* op) const;
|
| Handle<Object> ToHandle(LConstantOperand* op) const;
|
|
|