Index: src/mips/lithium-mips.h |
diff --git a/src/mips/lithium-mips.h b/src/mips/lithium-mips.h |
index 67836cf7b38ca6cf05a62e83a37b5994b65886ce..54ce825be4822a97d6e667e085a87546b14b1786 100644 |
--- a/src/mips/lithium-mips.h |
+++ b/src/mips/lithium-mips.h |
@@ -1914,25 +1914,33 @@ class LUint32ToSmi V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
}; |
-class LNumberTagI V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
+class LNumberTagI V8_FINAL : public LTemplateInstruction<1, 1, 2> { |
public: |
- explicit LNumberTagI(LOperand* value) { |
+ LNumberTagI(LOperand* value, LOperand* temp1, LOperand* temp2) { |
inputs_[0] = value; |
+ temps_[0] = temp1; |
+ temps_[1] = temp2; |
} |
LOperand* value() { return inputs_[0]; } |
+ LOperand* temp1() { return temps_[0]; } |
+ LOperand* temp2() { return temps_[1]; } |
DECLARE_CONCRETE_INSTRUCTION(NumberTagI, "number-tag-i") |
}; |
-class LNumberTagU V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
+class LNumberTagU V8_FINAL : public LTemplateInstruction<1, 1, 2> { |
public: |
- explicit LNumberTagU(LOperand* value) { |
+ LNumberTagU(LOperand* value, LOperand* temp1, LOperand* temp2) { |
inputs_[0] = value; |
+ temps_[0] = temp1; |
+ temps_[1] = temp2; |
} |
LOperand* value() { return inputs_[0]; } |
+ LOperand* temp1() { return temps_[0]; } |
+ LOperand* temp2() { return temps_[1]; } |
DECLARE_CONCRETE_INSTRUCTION(NumberTagU, "number-tag-u") |
}; |