Index: src/arm64/code-stubs-arm64.cc |
diff --git a/src/arm64/code-stubs-arm64.cc b/src/arm64/code-stubs-arm64.cc |
index 0e280e3c6478d7dc2f51ed760126adb46d687f51..6282e5f53c717c5a14ecb0453f9befde473f8dee 100644 |
--- a/src/arm64/code-stubs-arm64.cc |
+++ b/src/arm64/code-stubs-arm64.cc |
@@ -4600,6 +4600,19 @@ void StubFailureTrampolineStub::Generate(MacroAssembler* masm) { |
} |
+void LoadICTrampolineStub::Generate(MacroAssembler* masm) { |
Toon Verwaest
2014/08/26 13:26:57
Why not make this virtual?
|
+ EmitLoadTypeFeedbackVector(masm, FullVectorLoadConvention::VectorRegister()); |
+ if (GetCodeKind() == Code::KEYED_LOAD_IC) { |
+ VectorKeyedLoadStub stub(isolate()); |
+ __ Jump(stub.GetCode(), RelocInfo::CODE_TARGET); |
+ } else { |
+ DCHECK(GetCodeKind() == Code::LOAD_IC); |
+ VectorLoadStub stub(isolate(), state_); |
+ __ Jump(stub.GetCode(), RelocInfo::CODE_TARGET); |
+ } |
+} |
+ |
+ |
static unsigned int GetProfileEntryHookCallSize(MacroAssembler* masm) { |
// The entry hook is a "BumpSystemStackPointer" instruction (sub), |
// followed by a "Push lr" instruction, followed by a call. |