Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index 780eca3325b45061a4b60ab91fc781ddc7fbed13..b98208e90e901c9bcbd9d95ab72cef93482f571e 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -7792,6 +7792,16 @@ void StoreArrayLiteralElementStub::Generate(MacroAssembler* masm) { |
} |
+void StubFailureTrampolineStub::Generate(MacroAssembler* masm) { |
+ ASSERT(!Serializer::enabled()); |
+ bool save_fp_regs = CpuFeatures::IsSupported(VFP2); |
+ 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) { |
PredictableCodeSizeScope predictable(masm, 4 * Assembler::kInstrSize); |