Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index 334f55f8d8f7b8aff9117135d5d9590fd9710c46..4fbe0c0cfafbd85e1f5f3ab7b305daa4051dc01c 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -4540,7 +4540,11 @@ void CallFunctionStub::Generate(MacroAssembler* masm) { |
Label call_as_function; |
__ CompareRoot(r4, Heap::kTheHoleValueRootIndex); |
__ b(eq, &call_as_function); |
- __ InvokeFunction(r1, actual, JUMP_FUNCTION); |
+ __ InvokeFunction(r1, |
+ actual, |
+ JUMP_FUNCTION, |
+ NullCallWrapper(), |
+ CALL_AS_METHOD); |
__ bind(&call_as_function); |
} |
__ InvokeFunction(r1, |