Index: src/x87/lithium-x87.h |
diff --git a/src/x87/lithium-x87.h b/src/x87/lithium-x87.h |
index 3c3bb9fa81bb1b1090b7dff3e6d5fe65b81a3cff..c8c83835a96e4306f2ee1132563918b3f9708523 100644 |
--- a/src/x87/lithium-x87.h |
+++ b/src/x87/lithium-x87.h |
@@ -1957,19 +1957,25 @@ 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: |
- explicit 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) |
+ void PrintDataTo(StringStream* stream) OVERRIDE; |
int arity() const { return hydrogen()->argument_count() - 1; } |
}; |