Index: src/arm/lithium-arm.h |
diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h |
index 6c036c7b5dd3204b1250736e4c5e770c699053d4..ed07229e17c54c294472200ed0b81c854c940290 100644 |
--- a/src/arm/lithium-arm.h |
+++ b/src/arm/lithium-arm.h |
@@ -184,6 +184,7 @@ class LCodeGen; |
V(Typeof) \ |
V(TypeofIsAndBranch) \ |
V(Uint32ToDouble) \ |
+ V(Uint32ToSmi) \ |
V(UnknownOSRValue) \ |
V(ValueOf) \ |
V(WrapReceiver) |
@@ -2074,6 +2075,19 @@ class LUint32ToDouble V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
}; |
+class LUint32ToSmi V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
+ public: |
+ explicit LUint32ToSmi(LOperand* value) { |
+ inputs_[0] = value; |
+ } |
+ |
+ LOperand* value() { return inputs_[0]; } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(Uint32ToSmi, "uint32-to-smi") |
+ DECLARE_HYDROGEN_ACCESSOR(Change) |
+}; |
+ |
+ |
class LNumberTagI V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
public: |
explicit LNumberTagI(LOperand* value) { |