Index: src/x64/lithium-x64.h |
diff --git a/src/x64/lithium-x64.h b/src/x64/lithium-x64.h |
index 66df23f86ad516ef3d0760061049102ea6d651d0..18cff249a697863f2b18177b5471af9a346f0d00 100644 |
--- a/src/x64/lithium-x64.h |
+++ b/src/x64/lithium-x64.h |
@@ -462,16 +462,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) { |
Rico
2011/02/18 16:49:11
See comment in codegen, can't we just use kScratch
Mads Ager (chromium)
2011/02/21 07:38:35
Done.
|
inputs_[0] = function; |
inputs_[1] = receiver; |
inputs_[2] = length; |
inputs_[3] = elements; |
+ temps_[0] = temp; |
} |
DECLARE_CONCRETE_INSTRUCTION(ApplyArguments, "apply-arguments") |