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 "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_X87 | 7 #if V8_TARGET_ARCH_X87 |
8 | 8 |
9 #include "src/code-factory.h" | 9 #include "src/code-factory.h" |
10 #include "src/codegen.h" | 10 #include "src/codegen.h" |
(...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
797 // Jump to point after the code-age stub. | 797 // Jump to point after the code-age stub. |
798 __ ret(0); | 798 __ ret(0); |
799 } | 799 } |
800 | 800 |
801 | 801 |
802 void Builtins::Generate_MarkCodeAsExecutedTwice(MacroAssembler* masm) { | 802 void Builtins::Generate_MarkCodeAsExecutedTwice(MacroAssembler* masm) { |
803 GenerateMakeCodeYoungAgainCommon(masm); | 803 GenerateMakeCodeYoungAgainCommon(masm); |
804 } | 804 } |
805 | 805 |
806 | 806 |
| 807 void Builtins::Generate_MarkCodeToBeExecutedOnce(MacroAssembler* masm) { |
| 808 Generate_MarkCodeAsExecutedOnce(masm); |
| 809 } |
| 810 |
| 811 |
807 static void Generate_NotifyStubFailureHelper(MacroAssembler* masm, | 812 static void Generate_NotifyStubFailureHelper(MacroAssembler* masm, |
808 SaveFPRegsMode save_doubles) { | 813 SaveFPRegsMode save_doubles) { |
809 // Enter an internal frame. | 814 // Enter an internal frame. |
810 { | 815 { |
811 FrameScope scope(masm, StackFrame::INTERNAL); | 816 FrameScope scope(masm, StackFrame::INTERNAL); |
812 | 817 |
813 // Preserve registers across notification, this is important for compiled | 818 // Preserve registers across notification, this is important for compiled |
814 // stubs that tail call the runtime on deopts passing their parameters in | 819 // stubs that tail call the runtime on deopts passing their parameters in |
815 // registers. | 820 // registers. |
816 __ pushad(); | 821 __ pushad(); |
(...skipping 873 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1690 | 1695 |
1691 __ bind(&ok); | 1696 __ bind(&ok); |
1692 __ ret(0); | 1697 __ ret(0); |
1693 } | 1698 } |
1694 | 1699 |
1695 #undef __ | 1700 #undef __ |
1696 } | 1701 } |
1697 } // namespace v8::internal | 1702 } // namespace v8::internal |
1698 | 1703 |
1699 #endif // V8_TARGET_ARCH_X87 | 1704 #endif // V8_TARGET_ARCH_X87 |
OLD | NEW |