Index: src/ia32/lithium-ia32.h |
diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h |
index 073bcdd6d3b0309955da6b8257de36986b913fff..caf4a18f30d663b0ecd2e841bed3d97bc0bb6416 100644 |
--- a/src/ia32/lithium-ia32.h |
+++ b/src/ia32/lithium-ia32.h |
@@ -1937,27 +1937,31 @@ 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, 1> { |
public: |
- explicit LNumberTagI(LOperand* value) { |
+ LNumberTagI(LOperand* value, LOperand* temp) { |
inputs_[0] = value; |
+ temps_[0] = temp; |
} |
LOperand* value() { return inputs_[0]; } |
+ LOperand* temp() { return temps_[0]; } |
DECLARE_CONCRETE_INSTRUCTION(NumberTagI, "number-tag-i") |
}; |
-class LNumberTagU V8_FINAL : public LTemplateInstruction<1, 1, 1> { |
+class LNumberTagU V8_FINAL : public LTemplateInstruction<1, 1, 2> { |
public: |
- LNumberTagU(LOperand* value, LOperand* temp) { |
+ LNumberTagU(LOperand* value, LOperand* temp1, LOperand* temp2) { |
inputs_[0] = value; |
- temps_[0] = temp; |
+ temps_[0] = temp1; |
+ temps_[1] = temp2; |
} |
LOperand* value() { return inputs_[0]; } |
- LOperand* temp() { return temps_[0]; } |
+ LOperand* temp1() { return temps_[0]; } |
+ LOperand* temp2() { return temps_[1]; } |
DECLARE_CONCRETE_INSTRUCTION(NumberTagU, "number-tag-u") |
}; |