OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "v8.h" | 5 #include "v8.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_IA32 | 7 #if V8_TARGET_ARCH_IA32 |
8 | 8 |
9 #include "codegen.h" | 9 #include "codegen.h" |
10 #include "deoptimizer.h" | 10 #include "deoptimizer.h" |
(...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
670 __ ret(0); // Return to IC Miss stub, continuation still on stack. | 670 __ ret(0); // Return to IC Miss stub, continuation still on stack. |
671 } | 671 } |
672 | 672 |
673 | 673 |
674 void Builtins::Generate_NotifyStubFailure(MacroAssembler* masm) { | 674 void Builtins::Generate_NotifyStubFailure(MacroAssembler* masm) { |
675 Generate_NotifyStubFailureHelper(masm, kDontSaveFPRegs); | 675 Generate_NotifyStubFailureHelper(masm, kDontSaveFPRegs); |
676 } | 676 } |
677 | 677 |
678 | 678 |
679 void Builtins::Generate_NotifyStubFailureSaveDoubles(MacroAssembler* masm) { | 679 void Builtins::Generate_NotifyStubFailureSaveDoubles(MacroAssembler* masm) { |
680 if (Serializer::enabled()) { | 680 if (Serializer::enabled(masm->isolate())) { |
681 PlatformFeatureScope sse2(masm->isolate(), SSE2); | 681 PlatformFeatureScope sse2(masm->isolate(), SSE2); |
682 Generate_NotifyStubFailureHelper(masm, kSaveFPRegs); | 682 Generate_NotifyStubFailureHelper(masm, kSaveFPRegs); |
683 } else { | 683 } else { |
684 Generate_NotifyStubFailureHelper(masm, kSaveFPRegs); | 684 Generate_NotifyStubFailureHelper(masm, kSaveFPRegs); |
685 } | 685 } |
686 } | 686 } |
687 | 687 |
688 | 688 |
689 static void Generate_NotifyDeoptimizedHelper(MacroAssembler* masm, | 689 static void Generate_NotifyDeoptimizedHelper(MacroAssembler* masm, |
690 Deoptimizer::BailoutType type) { | 690 Deoptimizer::BailoutType type) { |
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1439 | 1439 |
1440 __ bind(&ok); | 1440 __ bind(&ok); |
1441 __ ret(0); | 1441 __ ret(0); |
1442 } | 1442 } |
1443 | 1443 |
1444 #undef __ | 1444 #undef __ |
1445 } | 1445 } |
1446 } // namespace v8::internal | 1446 } // namespace v8::internal |
1447 | 1447 |
1448 #endif // V8_TARGET_ARCH_IA32 | 1448 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |