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

Side by Side Diff: src/arm/builtins-arm.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 | « no previous file | src/arm64/builtins-arm64.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_ARM 7 #if V8_TARGET_ARCH_ARM
8 8
9 #include "src/codegen.h" 9 #include "src/codegen.h"
10 #include "src/debug.h" 10 #include "src/debug.h"
(...skipping 1044 matching lines...) Expand 10 before | Expand all | Expand 10 after
1055 __ add(r0, r0, Operand(kNoCodeAgeSequenceLength)); 1055 __ add(r0, r0, Operand(kNoCodeAgeSequenceLength));
1056 __ mov(pc, r0); 1056 __ mov(pc, r0);
1057 } 1057 }
1058 1058
1059 1059
1060 void Builtins::Generate_MarkCodeAsExecutedTwice(MacroAssembler* masm) { 1060 void Builtins::Generate_MarkCodeAsExecutedTwice(MacroAssembler* masm) {
1061 GenerateMakeCodeYoungAgainCommon(masm); 1061 GenerateMakeCodeYoungAgainCommon(masm);
1062 } 1062 }
1063 1063
1064 1064
1065 void Builtins::Generate_MarkCodeAsToBeExecutedOnce(MacroAssembler* masm) {
1066 Generate_MarkCodeAsExecutedOnce(masm);
1067 }
1068
1069
1065 static void Generate_NotifyStubFailureHelper(MacroAssembler* masm, 1070 static void Generate_NotifyStubFailureHelper(MacroAssembler* masm,
1066 SaveFPRegsMode save_doubles) { 1071 SaveFPRegsMode save_doubles) {
1067 { 1072 {
1068 FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); 1073 FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL);
1069 1074
1070 // Preserve registers across notification, this is important for compiled 1075 // Preserve registers across notification, this is important for compiled
1071 // stubs that tail call the runtime on deopts passing their parameters in 1076 // stubs that tail call the runtime on deopts passing their parameters in
1072 // registers. 1077 // registers.
1073 __ stm(db_w, sp, kJSCallerSaved | kCalleeSaved); 1078 __ stm(db_w, sp, kJSCallerSaved | kCalleeSaved);
1074 // Pass the function and deoptimization type to the runtime system. 1079 // Pass the function and deoptimization type to the runtime system.
(...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after
1780 __ bkpt(0); 1785 __ bkpt(0);
1781 } 1786 }
1782 } 1787 }
1783 1788
1784 1789
1785 #undef __ 1790 #undef __
1786 1791
1787 } } // namespace v8::internal 1792 } } // namespace v8::internal
1788 1793
1789 #endif // V8_TARGET_ARCH_ARM 1794 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm64/builtins-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698