Index: src/arm/lithium-arm.h |
diff --git a/src/arm/lithium-arm.h b/src/arm/lithium-arm.h |
index 6f94100345e81cbab75e0a72519c2a109b0beb18..b62af52a64b62de7a8dda556f69152904328a559 100644 |
--- a/src/arm/lithium-arm.h |
+++ b/src/arm/lithium-arm.h |
@@ -1939,20 +1939,26 @@ class LInvokeFunction FINAL : public LTemplateInstruction<1, 2, 0> { |
}; |
-class LCallFunction FINAL : public LTemplateInstruction<1, 2, 0> { |
+class LCallFunction FINAL : public LTemplateInstruction<1, 2, 2> { |
public: |
- LCallFunction(LOperand* context, LOperand* function) { |
+ LCallFunction(LOperand* context, LOperand* function, LOperand* slot, |
+ LOperand* vector) { |
inputs_[0] = context; |
inputs_[1] = function; |
+ temps_[0] = slot; |
+ temps_[1] = vector; |
} |
LOperand* context() { return inputs_[0]; } |
LOperand* function() { return inputs_[1]; } |
+ LOperand* temp_slot() { return temps_[0]; } |
+ LOperand* temp_vector() { return temps_[1]; } |
DECLARE_CONCRETE_INSTRUCTION(CallFunction, "call-function") |
DECLARE_HYDROGEN_ACCESSOR(CallFunction) |
int arity() const { return hydrogen()->argument_count() - 1; } |
+ void PrintDataTo(StringStream* stream) OVERRIDE; |
}; |