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

Side by Side Diff: src/arm64/builtins-arm64.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/arm/builtins-arm.cc ('k') | src/builtins.h » ('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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_ARM64 7 #if V8_TARGET_ARCH_ARM64
8 8
9 #include "src/codegen.h" 9 #include "src/codegen.h"
10 #include "src/debug.h" 10 #include "src/debug.h"
(...skipping 1040 matching lines...) Expand 10 before | Expand all | Expand 10 after
1051 __ Add(x0, x0, kNoCodeAgeSequenceLength); 1051 __ Add(x0, x0, kNoCodeAgeSequenceLength);
1052 __ Br(x0); 1052 __ Br(x0);
1053 } 1053 }
1054 1054
1055 1055
1056 void Builtins::Generate_MarkCodeAsExecutedTwice(MacroAssembler* masm) { 1056 void Builtins::Generate_MarkCodeAsExecutedTwice(MacroAssembler* masm) {
1057 GenerateMakeCodeYoungAgainCommon(masm); 1057 GenerateMakeCodeYoungAgainCommon(masm);
1058 } 1058 }
1059 1059
1060 1060
1061 void Builtins::Generate_MarkCodeAsToBeExecutedOnce(MacroAssembler* masm) {
1062 Generate_MarkCodeAsExecutedOnce(masm);
1063 }
1064
1065
1061 static void Generate_NotifyStubFailureHelper(MacroAssembler* masm, 1066 static void Generate_NotifyStubFailureHelper(MacroAssembler* masm,
1062 SaveFPRegsMode save_doubles) { 1067 SaveFPRegsMode save_doubles) {
1063 { 1068 {
1064 FrameScope scope(masm, StackFrame::INTERNAL); 1069 FrameScope scope(masm, StackFrame::INTERNAL);
1065 1070
1066 // Preserve registers across notification, this is important for compiled 1071 // Preserve registers across notification, this is important for compiled
1067 // stubs that tail call the runtime on deopts passing their parameters in 1072 // stubs that tail call the runtime on deopts passing their parameters in
1068 // registers. 1073 // registers.
1069 // TODO(jbramley): Is it correct (and appropriate) to use safepoint 1074 // TODO(jbramley): Is it correct (and appropriate) to use safepoint
1070 // registers here? According to the comment above, we should only need to 1075 // registers here? According to the comment above, we should only need to
(...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after
1799 __ Unreachable(); 1804 __ Unreachable();
1800 } 1805 }
1801 } 1806 }
1802 1807
1803 1808
1804 #undef __ 1809 #undef __
1805 1810
1806 } } // namespace v8::internal 1811 } } // namespace v8::internal
1807 1812
1808 #endif // V8_TARGET_ARCH_ARM 1813 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/builtins-arm.cc ('k') | src/builtins.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698