| Index: src/mips/lithium-mips.h
|
| diff --git a/src/mips/lithium-mips.h b/src/mips/lithium-mips.h
|
| index 365ffd15683dcab22ff440ad76ab531d6cbe08f8..5a9e39cd0c3483ccc042bbf0ce7dc4fe0d1315e5 100644
|
| --- a/src/mips/lithium-mips.h
|
| +++ b/src/mips/lithium-mips.h
|
| @@ -1902,20 +1902,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;
|
| };
|
|
|
|
|
|
|