Index: src/ia32/code-stubs-ia32.cc |
diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc |
index 48bd8b1a57b5fcc237161d5dd7e9594a34fafc78..71aacf9a3a118e3df2191c215c308159983c33b9 100644 |
--- a/src/ia32/code-stubs-ia32.cc |
+++ b/src/ia32/code-stubs-ia32.cc |
@@ -4158,6 +4158,7 @@ void CallFunctionStub::Generate(MacroAssembler* masm) { |
__ GetBuiltinEntry(edx, Builtins::CALL_NON_FUNCTION); |
Handle<Code> adaptor = |
masm->isolate()->builtins()->ArgumentsAdaptorTrampoline(); |
+ __ SetCallKind(ecx, CALL_AS_METHOD); |
__ jmp(adaptor, RelocInfo::CODE_TARGET); |
} |