Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index 677a76c3b3697d2433376a7e44a265083993853b..0eff38a420e77c5efa076946219f33496c3c6d4c 100644 |
--- a/src/mips/code-stubs-mips.cc |
+++ b/src/mips/code-stubs-mips.cc |
@@ -7977,6 +7977,16 @@ void StoreArrayLiteralElementStub::Generate(MacroAssembler* masm) { |
} |
+void StubFailureTrampolineStub::Generate(MacroAssembler* masm) { |
+ ASSERT(!Serializer::enabled()); |
+ bool save_fp_regs = CpuFeatures::IsSupported(FPU); |
+ CEntryStub ces(1, save_fp_regs ? kSaveFPRegs : kDontSaveFPRegs); |
+ __ Call(ces.GetCode(), RelocInfo::CODE_TARGET); |
+ masm->LeaveFrame(StackFrame::STUB_FAILURE_TRAMPOLINE); |
+ __ Ret(); |
+} |
+ |
+ |
void ProfileEntryHookStub::MaybeCallEntryHook(MacroAssembler* masm) { |
if (entry_hook_ != NULL) { |
ProfileEntryHookStub stub; |