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

Side by Side Diff: src/mips64/code-stubs-mips64.cc

Issue 1608583002: New page local store buffer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase and fix signed unsigned conversion Created 4 years, 10 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/mips/code-stubs-mips.cc ('k') | src/x64/code-stubs-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 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_MIPS64 5 #if V8_TARGET_ARCH_MIPS64
6 6
7 #include "src/bootstrapper.h" 7 #include "src/bootstrapper.h"
8 #include "src/code-stubs.h" 8 #include "src/code-stubs.h"
9 #include "src/codegen.h" 9 #include "src/codegen.h"
10 #include "src/ic/handler-compiler.h" 10 #include "src/ic/handler-compiler.h"
(...skipping 4186 matching lines...) Expand 10 before | Expand all | Expand 10 after
4197 regs_.Save(masm); 4197 regs_.Save(masm);
4198 4198
4199 if (remembered_set_action() == EMIT_REMEMBERED_SET) { 4199 if (remembered_set_action() == EMIT_REMEMBERED_SET) {
4200 Label dont_need_remembered_set; 4200 Label dont_need_remembered_set;
4201 4201
4202 __ ld(regs_.scratch0(), MemOperand(regs_.address(), 0)); 4202 __ ld(regs_.scratch0(), MemOperand(regs_.address(), 0));
4203 __ JumpIfNotInNewSpace(regs_.scratch0(), // Value. 4203 __ JumpIfNotInNewSpace(regs_.scratch0(), // Value.
4204 regs_.scratch0(), 4204 regs_.scratch0(),
4205 &dont_need_remembered_set); 4205 &dont_need_remembered_set);
4206 4206
4207 __ CheckPageFlag(regs_.object(), 4207 __ JumpIfInNewSpace(regs_.object(), regs_.scratch0(),
4208 regs_.scratch0(), 4208 &dont_need_remembered_set);
4209 1 << MemoryChunk::SCAN_ON_SCAVENGE,
4210 ne,
4211 &dont_need_remembered_set);
4212 4209
4213 // First notify the incremental marker if necessary, then update the 4210 // First notify the incremental marker if necessary, then update the
4214 // remembered set. 4211 // remembered set.
4215 CheckNeedsToInformIncrementalMarker( 4212 CheckNeedsToInformIncrementalMarker(
4216 masm, kUpdateRememberedSetOnNoNeedToInformIncrementalMarker, mode); 4213 masm, kUpdateRememberedSetOnNoNeedToInformIncrementalMarker, mode);
4217 InformIncrementalMarker(masm); 4214 InformIncrementalMarker(masm);
4218 regs_.Restore(masm); 4215 regs_.Restore(masm);
4219 __ RememberedSetHelper(object(), 4216 __ RememberedSetHelper(object(),
4220 address(), 4217 address(),
4221 value(), 4218 value(),
(...skipping 1417 matching lines...) Expand 10 before | Expand all | Expand 10 after
5639 return_value_operand, NULL); 5636 return_value_operand, NULL);
5640 } 5637 }
5641 5638
5642 5639
5643 #undef __ 5640 #undef __
5644 5641
5645 } // namespace internal 5642 } // namespace internal
5646 } // namespace v8 5643 } // namespace v8
5647 5644
5648 #endif // V8_TARGET_ARCH_MIPS64 5645 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/mips/code-stubs-mips.cc ('k') | src/x64/code-stubs-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698