| Index: src/mips/lithium-mips.h
|
| diff --git a/src/mips/lithium-mips.h b/src/mips/lithium-mips.h
|
| index 71f0bb22fc37b6be1f6c09ac1e53c376f8b300b6..29c2fc612a5d252cf5bcc31bee35fe6cbca43337 100644
|
| --- a/src/mips/lithium-mips.h
|
| +++ b/src/mips/lithium-mips.h
|
| @@ -1379,12 +1379,17 @@ class LCallNamed: public LTemplateInstruction<1, 0, 0> {
|
| };
|
|
|
|
|
| -class LCallFunction: public LTemplateInstruction<1, 0, 0> {
|
| +class LCallFunction: public LTemplateInstruction<1, 1, 0> {
|
| public:
|
| + explicit LCallFunction(LOperand* function) {
|
| + inputs_[0] = function;
|
| + }
|
| +
|
| DECLARE_CONCRETE_INSTRUCTION(CallFunction, "call-function")
|
| DECLARE_HYDROGEN_ACCESSOR(CallFunction)
|
|
|
| - int arity() const { return hydrogen()->argument_count() - 2; }
|
| + LOperand* function() { return inputs_[0]; }
|
| + int arity() const { return hydrogen()->argument_count() - 1; }
|
| };
|
|
|
|
|
|
|