| Index: src/x87/builtins-x87.cc
|
| diff --git a/src/ia32/builtins-ia32.cc b/src/x87/builtins-x87.cc
|
| similarity index 99%
|
| copy from src/ia32/builtins-ia32.cc
|
| copy to src/x87/builtins-x87.cc
|
| index 969aae19dff073bcb9919ca1894443a36fc0c278..edb4ad7f9844ea67f8125534cb83b24d1b3117bd 100644
|
| --- a/src/ia32/builtins-ia32.cc
|
| +++ b/src/x87/builtins-x87.cc
|
| @@ -4,7 +4,7 @@
|
|
|
| #include "v8.h"
|
|
|
| -#if V8_TARGET_ARCH_IA32
|
| +#if V8_TARGET_ARCH_X87
|
|
|
| #include "codegen.h"
|
| #include "deoptimizer.h"
|
| @@ -651,8 +651,7 @@ void Builtins::Generate_MarkCodeAsExecutedTwice(MacroAssembler* masm) {
|
| }
|
|
|
|
|
| -static void Generate_NotifyStubFailureHelper(MacroAssembler* masm,
|
| - SaveFPRegsMode save_doubles) {
|
| +static void Generate_NotifyStubFailureHelper(MacroAssembler* masm) {
|
| // Enter an internal frame.
|
| {
|
| FrameScope scope(masm, StackFrame::INTERNAL);
|
| @@ -661,7 +660,7 @@ static void Generate_NotifyStubFailureHelper(MacroAssembler* masm,
|
| // stubs that tail call the runtime on deopts passing their parameters in
|
| // registers.
|
| __ pushad();
|
| - __ CallRuntime(Runtime::kHiddenNotifyStubFailure, 0, save_doubles);
|
| + __ CallRuntime(Runtime::kHiddenNotifyStubFailure, 0);
|
| __ popad();
|
| // Tear down internal frame.
|
| }
|
| @@ -672,12 +671,13 @@ static void Generate_NotifyStubFailureHelper(MacroAssembler* masm,
|
|
|
|
|
| void Builtins::Generate_NotifyStubFailure(MacroAssembler* masm) {
|
| - Generate_NotifyStubFailureHelper(masm, kDontSaveFPRegs);
|
| + Generate_NotifyStubFailureHelper(masm);
|
| }
|
|
|
|
|
| void Builtins::Generate_NotifyStubFailureSaveDoubles(MacroAssembler* masm) {
|
| - Generate_NotifyStubFailureHelper(masm, kSaveFPRegs);
|
| + // SaveDoubles is meanless for X87, just used by deoptimizer.cc
|
| + Generate_NotifyStubFailureHelper(masm);
|
| }
|
|
|
|
|
| @@ -1440,4 +1440,4 @@ void Builtins::Generate_OsrAfterStackCheck(MacroAssembler* masm) {
|
| }
|
| } // namespace v8::internal
|
|
|
| -#endif // V8_TARGET_ARCH_IA32
|
| +#endif // V8_TARGET_ARCH_X87
|
|
|