Index: src/mips/lithium-mips.h |
diff --git a/src/mips/lithium-mips.h b/src/mips/lithium-mips.h |
index 301be8fdf2c7054a13bb74e51e7b5841a98eed35..7254d83e6398b4006c7010890c4ec97637d4913c 100644 |
--- a/src/mips/lithium-mips.h |
+++ b/src/mips/lithium-mips.h |
@@ -182,6 +182,7 @@ class LCodeGen; |
V(Typeof) \ |
V(TypeofIsAndBranch) \ |
V(Uint32ToDouble) \ |
+ V(Uint32ToSmi) \ |
V(UnknownOSRValue) \ |
V(ValueOf) \ |
V(WrapReceiver) |
@@ -2052,6 +2053,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) { |