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 100505f0a090e35edbda06acee988444aec26995..d21c77bee44820ace424051afb060aefe10eceb1 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" |
@@ -660,8 +660,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); |
@@ -670,7 +669,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. |
} |
@@ -681,12 +680,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); |
} |
@@ -1449,4 +1449,4 @@ void Builtins::Generate_OsrAfterStackCheck(MacroAssembler* masm) { |
} |
} // namespace v8::internal |
-#endif // V8_TARGET_ARCH_IA32 |
+#endif // V8_TARGET_ARCH_X87 |