Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index 22846c38b6f9193503dadfe76261623d9100afc6..6116513569c7f171d1f2f79de7f3537aad64e6f3 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -3175,7 +3175,8 @@ void FullCodeGenerator::EmitCallFunction(ZoneList<Expression*>* args) { |
// InvokeFunction requires the function in r1. Move it in there. |
__ mov(r1, result_register()); |
ParameterCount count(arg_count); |
- __ InvokeFunction(r1, count, CALL_FUNCTION); |
+ __ InvokeFunction(r1, count, CALL_FUNCTION, |
+ NullCallWrapper(), CALL_AS_METHOD); |
__ ldr(cp, MemOperand(fp, StandardFrameConstants::kContextOffset)); |
context()->Plug(r0); |
} |