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_X64 | 7 #if V8_TARGET_ARCH_X64 |
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 841 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
852 // Jump to point after the code-age stub. | 852 // Jump to point after the code-age stub. |
853 __ ret(0); | 853 __ ret(0); |
854 } | 854 } |
855 | 855 |
856 | 856 |
857 void Builtins::Generate_MarkCodeAsExecutedTwice(MacroAssembler* masm) { | 857 void Builtins::Generate_MarkCodeAsExecutedTwice(MacroAssembler* masm) { |
858 GenerateMakeCodeYoungAgainCommon(masm); | 858 GenerateMakeCodeYoungAgainCommon(masm); |
859 } | 859 } |
860 | 860 |
861 | 861 |
| 862 void Builtins::Generate_MarkCodeAsToBeExecutedOnce(MacroAssembler* masm) { |
| 863 Generate_MarkCodeAsExecutedOnce(masm); |
| 864 } |
| 865 |
| 866 |
862 static void Generate_NotifyStubFailureHelper(MacroAssembler* masm, | 867 static void Generate_NotifyStubFailureHelper(MacroAssembler* masm, |
863 SaveFPRegsMode save_doubles) { | 868 SaveFPRegsMode save_doubles) { |
864 // Enter an internal frame. | 869 // Enter an internal frame. |
865 { | 870 { |
866 FrameScope scope(masm, StackFrame::INTERNAL); | 871 FrameScope scope(masm, StackFrame::INTERNAL); |
867 | 872 |
868 // Preserve registers across notification, this is important for compiled | 873 // Preserve registers across notification, this is important for compiled |
869 // stubs that tail call the runtime on deopts passing their parameters in | 874 // stubs that tail call the runtime on deopts passing their parameters in |
870 // registers. | 875 // registers. |
871 __ Pushad(); | 876 __ Pushad(); |
(...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1751 __ bind(&ok); | 1756 __ bind(&ok); |
1752 __ ret(0); | 1757 __ ret(0); |
1753 } | 1758 } |
1754 | 1759 |
1755 | 1760 |
1756 #undef __ | 1761 #undef __ |
1757 | 1762 |
1758 } } // namespace v8::internal | 1763 } } // namespace v8::internal |
1759 | 1764 |
1760 #endif // V8_TARGET_ARCH_X64 | 1765 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |