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

Side by Side Diff: src/builtins/x64/builtins-x64.cc

Issue 2529173002: [Heap] Remove concept of MarkingParity. (Closed)
Patch Set: Rebase Created 4 years 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/builtins/s390/builtins-s390.cc ('k') | src/builtins/x87/builtins-x87.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 #if V8_TARGET_ARCH_X64 5 #if V8_TARGET_ARCH_X64
6 6
7 #include "src/code-factory.h" 7 #include "src/code-factory.h"
8 #include "src/codegen.h" 8 #include "src/codegen.h"
9 #include "src/deoptimizer.h" 9 #include "src/deoptimizer.h"
10 #include "src/full-codegen/full-codegen.h" 10 #include "src/full-codegen/full-codegen.h"
(...skipping 1184 matching lines...) Expand 10 before | Expand all | Expand 10 after
1195 { // NOLINT 1195 { // NOLINT
1196 FrameScope scope(masm, StackFrame::MANUAL); 1196 FrameScope scope(masm, StackFrame::MANUAL);
1197 __ PrepareCallCFunction(2); 1197 __ PrepareCallCFunction(2);
1198 __ CallCFunction( 1198 __ CallCFunction(
1199 ExternalReference::get_make_code_young_function(masm->isolate()), 2); 1199 ExternalReference::get_make_code_young_function(masm->isolate()), 2);
1200 } 1200 }
1201 __ Popad(); 1201 __ Popad();
1202 __ ret(0); 1202 __ ret(0);
1203 } 1203 }
1204 1204
1205 #define DEFINE_CODE_AGE_BUILTIN_GENERATOR(C) \ 1205 #define DEFINE_CODE_AGE_BUILTIN_GENERATOR(C) \
1206 void Builtins::Generate_Make##C##CodeYoungAgainEvenMarking( \ 1206 void Builtins::Generate_Make##C##CodeYoungAgain(MacroAssembler* masm) { \
1207 MacroAssembler* masm) { \ 1207 GenerateMakeCodeYoungAgainCommon(masm); \
1208 GenerateMakeCodeYoungAgainCommon(masm); \
1209 } \
1210 void Builtins::Generate_Make##C##CodeYoungAgainOddMarking( \
1211 MacroAssembler* masm) { \
1212 GenerateMakeCodeYoungAgainCommon(masm); \
1213 } 1208 }
1214 CODE_AGE_LIST(DEFINE_CODE_AGE_BUILTIN_GENERATOR) 1209 CODE_AGE_LIST(DEFINE_CODE_AGE_BUILTIN_GENERATOR)
1215 #undef DEFINE_CODE_AGE_BUILTIN_GENERATOR 1210 #undef DEFINE_CODE_AGE_BUILTIN_GENERATOR
1216 1211
1217 void Builtins::Generate_MarkCodeAsExecutedOnce(MacroAssembler* masm) { 1212 void Builtins::Generate_MarkCodeAsExecutedOnce(MacroAssembler* masm) {
1218 // For now, as in GenerateMakeCodeYoungAgainCommon, we are relying on the fact 1213 // For now, as in GenerateMakeCodeYoungAgainCommon, we are relying on the fact
1219 // that make_code_young doesn't do any garbage collection which allows us to 1214 // that make_code_young doesn't do any garbage collection which allows us to
1220 // save/restore the registers without worrying about which of them contain 1215 // save/restore the registers without worrying about which of them contain
1221 // pointers. 1216 // pointers.
1222 __ Pushad(); 1217 __ Pushad();
(...skipping 1832 matching lines...) Expand 10 before | Expand all | Expand 10 after
3055 void Builtins::Generate_InterpreterOnStackReplacement(MacroAssembler* masm) { 3050 void Builtins::Generate_InterpreterOnStackReplacement(MacroAssembler* masm) {
3056 Generate_OnStackReplacementHelper(masm, true); 3051 Generate_OnStackReplacementHelper(masm, true);
3057 } 3052 }
3058 3053
3059 #undef __ 3054 #undef __
3060 3055
3061 } // namespace internal 3056 } // namespace internal
3062 } // namespace v8 3057 } // namespace v8
3063 3058
3064 #endif // V8_TARGET_ARCH_X64 3059 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/builtins/s390/builtins-s390.cc ('k') | src/builtins/x87/builtins-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698