Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(318)

Side by Side Diff: src/x64/builtins-x64.cc

Issue 1107233004: Implement kToBeExecutedOnceCodeAge. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@mandreel
Patch Set: Fix comment. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/ppc/builtins-ppc.cc ('k') | src/x87/builtins-x87.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/ppc/builtins-ppc.cc ('k') | src/x87/builtins-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698