Index: src/x64/code-stubs-x64.cc |
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc |
index 4797ea4e6bc53e7a0ca6725b08988b0d68aacef3..4d48093c16565a4440bdf31a2d7f480353d307bd 100644 |
--- a/src/x64/code-stubs-x64.cc |
+++ b/src/x64/code-stubs-x64.cc |
@@ -4441,6 +4441,19 @@ void StubFailureTrampolineStub::Generate(MacroAssembler* masm) { |
} |
+void LoadICTrampolineStub::Generate(MacroAssembler* masm) { |
+ EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister()); |
+ if (GetCodeKind() == Code::KEYED_LOAD_IC) { |
+ VectorKeyedLoadStub stub(isolate()); |
+ __ jmp(stub.GetCode(), RelocInfo::CODE_TARGET); |
+ } else { |
+ DCHECK(GetCodeKind() == Code::LOAD_IC); |
+ VectorLoadStub stub(isolate(), state_); |
+ __ jmp(stub.GetCode(), RelocInfo::CODE_TARGET); |
+ } |
+} |
+ |
+ |
void ProfileEntryHookStub::MaybeCallEntryHook(MacroAssembler* masm) { |
if (masm->isolate()->function_entry_hook() != NULL) { |
ProfileEntryHookStub stub(masm->isolate()); |