| Index: src/mips/builtins-mips.cc
|
| diff --git a/src/mips/builtins-mips.cc b/src/mips/builtins-mips.cc
|
| index 0b495831b9142882eadf0bf6d96e861ab3ab41b1..1efe636a5bd494fb40c4a94d16ebd27223239a6f 100644
|
| --- a/src/mips/builtins-mips.cc
|
| +++ b/src/mips/builtins-mips.cc
|
| @@ -900,7 +900,8 @@ void Builtins::Generate_MarkCodeAsExecutedTwice(MacroAssembler* masm) {
|
| }
|
|
|
|
|
| -void Builtins::Generate_NotifyStubFailure(MacroAssembler* masm) {
|
| +static void Generate_NotifyStubFailureHelper(MacroAssembler* masm,
|
| + SaveFPRegsMode save_doubles) {
|
| {
|
| FrameScope scope(masm, StackFrame::INTERNAL);
|
|
|
| @@ -909,7 +910,7 @@ void Builtins::Generate_NotifyStubFailure(MacroAssembler* masm) {
|
| // registers.
|
| __ MultiPush(kJSCallerSaved | kCalleeSaved);
|
| // Pass the function and deoptimization type to the runtime system.
|
| - __ CallRuntime(Runtime::kNotifyStubFailure, 0);
|
| + __ CallRuntime(Runtime::kNotifyStubFailure, 0, save_doubles);
|
| __ MultiPop(kJSCallerSaved | kCalleeSaved);
|
| }
|
|
|
| @@ -918,6 +919,16 @@ void Builtins::Generate_NotifyStubFailure(MacroAssembler* masm) {
|
| }
|
|
|
|
|
| +void Builtins::Generate_NotifyStubFailure(MacroAssembler* masm) {
|
| + Generate_NotifyStubFailureHelper(masm, kDontSaveFPRegs);
|
| +}
|
| +
|
| +
|
| +void Builtins::Generate_NotifyStubFailureSaveDoubles(MacroAssembler* masm) {
|
| + Generate_NotifyStubFailureHelper(masm, kSaveFPRegs);
|
| +}
|
| +
|
| +
|
| static void Generate_NotifyDeoptimizedHelper(MacroAssembler* masm,
|
| Deoptimizer::BailoutType type) {
|
| {
|
|
|