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

Side by Side Diff: src/ppc/builtins-ppc.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/objects.cc ('k') | src/x64/builtins-x64.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_PPC 7 #if V8_TARGET_ARCH_PPC
8 8
9 #include "src/codegen.h" 9 #include "src/codegen.h"
10 #include "src/debug.h" 10 #include "src/debug.h"
(...skipping 1054 matching lines...) Expand 10 before | Expand all | Expand 10 after
1065 __ addi(r3, ip, Operand(kNoCodeAgeSequenceLength)); 1065 __ addi(r3, ip, Operand(kNoCodeAgeSequenceLength));
1066 __ Jump(r3); 1066 __ Jump(r3);
1067 } 1067 }
1068 1068
1069 1069
1070 void Builtins::Generate_MarkCodeAsExecutedTwice(MacroAssembler* masm) { 1070 void Builtins::Generate_MarkCodeAsExecutedTwice(MacroAssembler* masm) {
1071 GenerateMakeCodeYoungAgainCommon(masm); 1071 GenerateMakeCodeYoungAgainCommon(masm);
1072 } 1072 }
1073 1073
1074 1074
1075 void Builtins::Generate_MarkCodeAsToBeExecutedOnce(MacroAssembler* masm) {
1076 Generate_MarkCodeAsExecutedOnce(masm);
1077 }
1078
1079
1075 static void Generate_NotifyStubFailureHelper(MacroAssembler* masm, 1080 static void Generate_NotifyStubFailureHelper(MacroAssembler* masm,
1076 SaveFPRegsMode save_doubles) { 1081 SaveFPRegsMode save_doubles) {
1077 { 1082 {
1078 FrameScope scope(masm, StackFrame::INTERNAL); 1083 FrameScope scope(masm, StackFrame::INTERNAL);
1079 1084
1080 // Preserve registers across notification, this is important for compiled 1085 // Preserve registers across notification, this is important for compiled
1081 // stubs that tail call the runtime on deopts passing their parameters in 1086 // stubs that tail call the runtime on deopts passing their parameters in
1082 // registers. 1087 // registers.
1083 __ MultiPush(kJSCallerSaved | kCalleeSaved); 1088 __ MultiPush(kJSCallerSaved | kCalleeSaved);
1084 // Pass the function and deoptimization type to the runtime system. 1089 // Pass the function and deoptimization type to the runtime system.
(...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after
1824 __ bkpt(0); 1829 __ bkpt(0);
1825 } 1830 }
1826 } 1831 }
1827 1832
1828 1833
1829 #undef __ 1834 #undef __
1830 } 1835 }
1831 } // namespace v8::internal 1836 } // namespace v8::internal
1832 1837
1833 #endif // V8_TARGET_ARCH_PPC 1838 #endif // V8_TARGET_ARCH_PPC
OLDNEW
« no previous file with comments | « src/objects.cc ('k') | src/x64/builtins-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698