Index: src/ia32/lithium-ia32.h |
diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h |
index 56d031cd0b468726f4870f08a181f2c3801ec02c..87b25d15a8e7c9471ea4ea7b09547a71c4ff2d6a 100644 |
--- a/src/ia32/lithium-ia32.h |
+++ b/src/ia32/lithium-ia32.h |
@@ -461,16 +461,18 @@ class LControlInstruction: public LTemplateInstruction<0, I, T> { |
}; |
-class LApplyArguments: public LTemplateInstruction<1, 4, 0> { |
+class LApplyArguments: public LTemplateInstruction<1, 4, 1> { |
public: |
LApplyArguments(LOperand* function, |
LOperand* receiver, |
LOperand* length, |
- LOperand* elements) { |
+ LOperand* elements, |
+ LOperand* temp) { |
inputs_[0] = function; |
inputs_[1] = receiver; |
inputs_[2] = length; |
inputs_[3] = elements; |
+ temps_[0] = temp; |
} |
DECLARE_CONCRETE_INSTRUCTION(ApplyArguments, "apply-arguments") |