Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index 4439ab4bacdbc996e2f021dcbd32393f9dad7357..31b90663bc44580dfe0bb108d81ee92127061163 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -3184,7 +3184,8 @@ void FullCodeGenerator::EmitCallFunction(ZoneList<Expression*>* args) { |
// InvokeFunction requires the function in a1. Move it in there. |
__ mov(a1, result_register()); |
ParameterCount count(arg_count); |
- __ InvokeFunction(a1, count, CALL_FUNCTION); |
+ __ InvokeFunction(a1, count, CALL_FUNCTION, |
+ NullCallWrapper(), CALL_AS_METHOD); |
__ lw(cp, MemOperand(fp, StandardFrameConstants::kContextOffset)); |
context()->Plug(v0); |
} |