Index: src/ia32/full-codegen-ia32.cc |
diff --git a/src/ia32/full-codegen-ia32.cc b/src/ia32/full-codegen-ia32.cc |
index 8b941e9a3a8e6a1af90127117d70173cec9916c8..5f0a0b6a575ad09f9dc12f88e876e5b70c44b447 100644 |
--- a/src/ia32/full-codegen-ia32.cc |
+++ b/src/ia32/full-codegen-ia32.cc |
@@ -3115,7 +3115,8 @@ void FullCodeGenerator::EmitCallFunction(ZoneList<Expression*>* args) { |
// InvokeFunction requires the function in edi. Move it in there. |
__ mov(edi, result_register()); |
ParameterCount count(arg_count); |
- __ InvokeFunction(edi, count, CALL_FUNCTION); |
+ __ InvokeFunction(edi, count, CALL_FUNCTION, |
+ NullCallWrapper(), CALL_AS_METHOD); |
__ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset)); |
context()->Plug(eax); |
} |