Index: src/x64/code-stubs-x64.cc |
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc |
index 3cf7840d54997155496dd9837dcd84f23b5c966c..fd0f910141d624361bca3fc5ab59829cc4ac08a5 100644 |
--- a/src/x64/code-stubs-x64.cc |
+++ b/src/x64/code-stubs-x64.cc |
@@ -3198,6 +3198,7 @@ void CallFunctionStub::Generate(MacroAssembler* masm) { |
__ GetBuiltinEntry(rdx, Builtins::CALL_NON_FUNCTION); |
Handle<Code> adaptor = |
Isolate::Current()->builtins()->ArgumentsAdaptorTrampoline(); |
+ __ SetCallKind(rcx, CALL_AS_METHOD); |
__ Jump(adaptor, RelocInfo::CODE_TARGET); |
} |