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

Side by Side Diff: src/builtins/mips/builtins-mips.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/ia32/builtins-ia32.cc ('k') | src/builtins/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 #if V8_TARGET_ARCH_MIPS 5 #if V8_TARGET_ARCH_MIPS
6 6
7 #include "src/codegen.h" 7 #include "src/codegen.h"
8 #include "src/debug/debug.h" 8 #include "src/debug/debug.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 1545 matching lines...) Expand 10 before | Expand all | Expand 10 after
1556 FrameScope scope(masm, StackFrame::MANUAL); 1556 FrameScope scope(masm, StackFrame::MANUAL);
1557 __ MultiPush(saved_regs); 1557 __ MultiPush(saved_regs);
1558 __ PrepareCallCFunction(2, 0, a2); 1558 __ PrepareCallCFunction(2, 0, a2);
1559 __ li(a1, Operand(ExternalReference::isolate_address(masm->isolate()))); 1559 __ li(a1, Operand(ExternalReference::isolate_address(masm->isolate())));
1560 __ CallCFunction( 1560 __ CallCFunction(
1561 ExternalReference::get_make_code_young_function(masm->isolate()), 2); 1561 ExternalReference::get_make_code_young_function(masm->isolate()), 2);
1562 __ MultiPop(saved_regs); 1562 __ MultiPop(saved_regs);
1563 __ Jump(a0); 1563 __ Jump(a0);
1564 } 1564 }
1565 1565
1566 #define DEFINE_CODE_AGE_BUILTIN_GENERATOR(C) \ 1566 #define DEFINE_CODE_AGE_BUILTIN_GENERATOR(C) \
1567 void Builtins::Generate_Make##C##CodeYoungAgainEvenMarking( \ 1567 void Builtins::Generate_Make##C##CodeYoungAgain(MacroAssembler* masm) { \
1568 MacroAssembler* masm) { \ 1568 GenerateMakeCodeYoungAgainCommon(masm); \
1569 GenerateMakeCodeYoungAgainCommon(masm); \
1570 } \
1571 void Builtins::Generate_Make##C##CodeYoungAgainOddMarking( \
1572 MacroAssembler* masm) { \
1573 GenerateMakeCodeYoungAgainCommon(masm); \
1574 } 1569 }
1575 CODE_AGE_LIST(DEFINE_CODE_AGE_BUILTIN_GENERATOR) 1570 CODE_AGE_LIST(DEFINE_CODE_AGE_BUILTIN_GENERATOR)
1576 #undef DEFINE_CODE_AGE_BUILTIN_GENERATOR 1571 #undef DEFINE_CODE_AGE_BUILTIN_GENERATOR
1577 1572
1578 void Builtins::Generate_MarkCodeAsExecutedOnce(MacroAssembler* masm) { 1573 void Builtins::Generate_MarkCodeAsExecutedOnce(MacroAssembler* masm) {
1579 // For now, as in GenerateMakeCodeYoungAgainCommon, we are relying on the fact 1574 // For now, as in GenerateMakeCodeYoungAgainCommon, we are relying on the fact
1580 // that make_code_young doesn't do any garbage collection which allows us to 1575 // that make_code_young doesn't do any garbage collection which allows us to
1581 // save/restore the registers without worrying about which of them contain 1576 // save/restore the registers without worrying about which of them contain
1582 // pointers. 1577 // pointers.
1583 1578
(...skipping 1360 matching lines...) Expand 10 before | Expand all | Expand 10 after
2944 __ break_(0xCC); 2939 __ break_(0xCC);
2945 } 2940 }
2946 } 2941 }
2947 2942
2948 #undef __ 2943 #undef __
2949 2944
2950 } // namespace internal 2945 } // namespace internal
2951 } // namespace v8 2946 } // namespace v8
2952 2947
2953 #endif // V8_TARGET_ARCH_MIPS 2948 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/builtins/ia32/builtins-ia32.cc ('k') | src/builtins/mips64/builtins-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698