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

Side by Side Diff: src/mips/builtins-mips.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/ia32/builtins-ia32.cc ('k') | src/mips64/builtins-mips64.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 5
6 6
7 #include "src/v8.h" 7 #include "src/v8.h"
8 8
9 #if V8_TARGET_ARCH_MIPS 9 #if V8_TARGET_ARCH_MIPS
10 10
(...skipping 1069 matching lines...) Expand 10 before | Expand all | Expand 10 after
1080 __ Addu(a0, a0, Operand(kNoCodeAgeSequenceLength)); 1080 __ Addu(a0, a0, Operand(kNoCodeAgeSequenceLength));
1081 __ Jump(a0); 1081 __ Jump(a0);
1082 } 1082 }
1083 1083
1084 1084
1085 void Builtins::Generate_MarkCodeAsExecutedTwice(MacroAssembler* masm) { 1085 void Builtins::Generate_MarkCodeAsExecutedTwice(MacroAssembler* masm) {
1086 GenerateMakeCodeYoungAgainCommon(masm); 1086 GenerateMakeCodeYoungAgainCommon(masm);
1087 } 1087 }
1088 1088
1089 1089
1090 void Builtins::Generate_MarkCodeAsToBeExecutedOnce(MacroAssembler* masm) {
1091 Generate_MarkCodeAsExecutedOnce(masm);
1092 }
1093
1094
1090 static void Generate_NotifyStubFailureHelper(MacroAssembler* masm, 1095 static void Generate_NotifyStubFailureHelper(MacroAssembler* masm,
1091 SaveFPRegsMode save_doubles) { 1096 SaveFPRegsMode save_doubles) {
1092 { 1097 {
1093 FrameScope scope(masm, StackFrame::INTERNAL); 1098 FrameScope scope(masm, StackFrame::INTERNAL);
1094 1099
1095 // Preserve registers across notification, this is important for compiled 1100 // Preserve registers across notification, this is important for compiled
1096 // stubs that tail call the runtime on deopts passing their parameters in 1101 // stubs that tail call the runtime on deopts passing their parameters in
1097 // registers. 1102 // registers.
1098 __ MultiPush(kJSCallerSaved | kCalleeSaved); 1103 __ MultiPush(kJSCallerSaved | kCalleeSaved);
1099 // Pass the function and deoptimization type to the runtime system. 1104 // Pass the function and deoptimization type to the runtime system.
(...skipping 707 matching lines...) Expand 10 before | Expand all | Expand 10 after
1807 __ break_(0xCC); 1812 __ break_(0xCC);
1808 } 1813 }
1809 } 1814 }
1810 1815
1811 1816
1812 #undef __ 1817 #undef __
1813 1818
1814 } } // namespace v8::internal 1819 } } // namespace v8::internal
1815 1820
1816 #endif // V8_TARGET_ARCH_MIPS 1821 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/ia32/builtins-ia32.cc ('k') | src/mips64/builtins-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698