Index: src/x64/code-stubs-x64.cc |
diff --git a/src/x64/code-stubs-x64.cc b/src/x64/code-stubs-x64.cc |
index 6bef42f28eb56b74f628e1c1ecf6ca284f667f08..8ac71d844eb2b7c61f8c2737f3a455d1180a347c 100644 |
--- a/src/x64/code-stubs-x64.cc |
+++ b/src/x64/code-stubs-x64.cc |
@@ -6557,6 +6557,15 @@ void StoreArrayLiteralElementStub::Generate(MacroAssembler* masm) { |
} |
+void StubFailureTrampolineStub::Generate(MacroAssembler* masm) { |
+ ASSERT(!Serializer::enabled()); |
+ CEntryStub ces(1, kSaveFPRegs); |
+ __ Call(ces.GetCode(), RelocInfo::CODE_TARGET); |
+ masm->LeaveFrame(StackFrame::STUB_FAILURE_TRAMPOLINE); |
+ __ ret(0); // Return to IC Miss stub, continuation still on stack. |
+} |
+ |
+ |
void ProfileEntryHookStub::MaybeCallEntryHook(MacroAssembler* masm) { |
if (entry_hook_ != NULL) { |
ProfileEntryHookStub stub; |