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

Side by Side Diff: src/x87/builtins-x87.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/x64/builtins-x64.cc ('k') | no next file » | 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_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
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
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
OLDNEW
« no previous file with comments | « src/x64/builtins-x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698