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

Side by Side Diff: src/arm/code-stubs-arm.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 | « BUILD.gn ('k') | src/arm64/code-stubs-arm64.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_ARM 5 #if V8_TARGET_ARCH_ARM
6 6
7 #include "src/base/bits.h" 7 #include "src/base/bits.h"
8 #include "src/bootstrapper.h" 8 #include "src/bootstrapper.h"
9 #include "src/code-stubs.h" 9 #include "src/code-stubs.h"
10 #include "src/codegen.h" 10 #include "src/codegen.h"
(...skipping 3973 matching lines...) Expand 10 before | Expand all | Expand 10 after
3984 regs_.Save(masm); 3984 regs_.Save(masm);
3985 3985
3986 if (remembered_set_action() == EMIT_REMEMBERED_SET) { 3986 if (remembered_set_action() == EMIT_REMEMBERED_SET) {
3987 Label dont_need_remembered_set; 3987 Label dont_need_remembered_set;
3988 3988
3989 __ ldr(regs_.scratch0(), MemOperand(regs_.address(), 0)); 3989 __ ldr(regs_.scratch0(), MemOperand(regs_.address(), 0));
3990 __ JumpIfNotInNewSpace(regs_.scratch0(), // Value. 3990 __ JumpIfNotInNewSpace(regs_.scratch0(), // Value.
3991 regs_.scratch0(), 3991 regs_.scratch0(),
3992 &dont_need_remembered_set); 3992 &dont_need_remembered_set);
3993 3993
3994 __ CheckPageFlag(regs_.object(), 3994 __ JumpIfInNewSpace(regs_.object(), regs_.scratch0(),
3995 regs_.scratch0(), 3995 &dont_need_remembered_set);
3996 1 << MemoryChunk::SCAN_ON_SCAVENGE,
3997 ne,
3998 &dont_need_remembered_set);
3999 3996
4000 // First notify the incremental marker if necessary, then update the 3997 // First notify the incremental marker if necessary, then update the
4001 // remembered set. 3998 // remembered set.
4002 CheckNeedsToInformIncrementalMarker( 3999 CheckNeedsToInformIncrementalMarker(
4003 masm, kUpdateRememberedSetOnNoNeedToInformIncrementalMarker, mode); 4000 masm, kUpdateRememberedSetOnNoNeedToInformIncrementalMarker, mode);
4004 InformIncrementalMarker(masm); 4001 InformIncrementalMarker(masm);
4005 regs_.Restore(masm); 4002 regs_.Restore(masm);
4006 __ RememberedSetHelper(object(), address(), value(), save_fp_regs_mode(), 4003 __ RememberedSetHelper(object(), address(), value(), save_fp_regs_mode(),
4007 MacroAssembler::kReturnAtEnd); 4004 MacroAssembler::kReturnAtEnd);
4008 4005
(...skipping 1432 matching lines...) Expand 10 before | Expand all | Expand 10 after
5441 kStackUnwindSpace, NULL, return_value_operand, NULL); 5438 kStackUnwindSpace, NULL, return_value_operand, NULL);
5442 } 5439 }
5443 5440
5444 5441
5445 #undef __ 5442 #undef __
5446 5443
5447 } // namespace internal 5444 } // namespace internal
5448 } // namespace v8 5445 } // namespace v8
5449 5446
5450 #endif // V8_TARGET_ARCH_ARM 5447 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | src/arm64/code-stubs-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698