Index: src/ia32/code-stubs-ia32.cc |
diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc |
index f31f6578ffe71ca0500b8fce0302b1c148d5c5a4..cdc74d12363c2db7bddc2a70627cab0cf1a8c66d 100644 |
--- a/src/ia32/code-stubs-ia32.cc |
+++ b/src/ia32/code-stubs-ia32.cc |
@@ -4501,6 +4501,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()); |