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

Side by Side Diff: src/arm64/code-stubs-arm64.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/arm/code-stubs-arm.cc ('k') | src/counters.h » ('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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_ARM64 5 #if V8_TARGET_ARCH_ARM64
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 4073 matching lines...) Expand 10 before | Expand all | Expand 10 after
4084 // but we need to save them before using them. 4084 // but we need to save them before using them.
4085 regs_.Save(masm); 4085 regs_.Save(masm);
4086 4086
4087 if (remembered_set_action() == EMIT_REMEMBERED_SET) { 4087 if (remembered_set_action() == EMIT_REMEMBERED_SET) {
4088 Label dont_need_remembered_set; 4088 Label dont_need_remembered_set;
4089 4089
4090 Register val = regs_.scratch0(); 4090 Register val = regs_.scratch0();
4091 __ Ldr(val, MemOperand(regs_.address())); 4091 __ Ldr(val, MemOperand(regs_.address()));
4092 __ JumpIfNotInNewSpace(val, &dont_need_remembered_set); 4092 __ JumpIfNotInNewSpace(val, &dont_need_remembered_set);
4093 4093
4094 __ CheckPageFlagSet(regs_.object(), val, 1 << MemoryChunk::SCAN_ON_SCAVENGE, 4094 __ JumpIfInNewSpace(regs_.object(), &dont_need_remembered_set);
4095 &dont_need_remembered_set);
4096 4095
4097 // First notify the incremental marker if necessary, then update the 4096 // First notify the incremental marker if necessary, then update the
4098 // remembered set. 4097 // remembered set.
4099 CheckNeedsToInformIncrementalMarker( 4098 CheckNeedsToInformIncrementalMarker(
4100 masm, kUpdateRememberedSetOnNoNeedToInformIncrementalMarker, mode); 4099 masm, kUpdateRememberedSetOnNoNeedToInformIncrementalMarker, mode);
4101 InformIncrementalMarker(masm); 4100 InformIncrementalMarker(masm);
4102 regs_.Restore(masm); // Restore the extra scratch registers we used. 4101 regs_.Restore(masm); // Restore the extra scratch registers we used.
4103 4102
4104 __ RememberedSetHelper(object(), address(), 4103 __ RememberedSetHelper(object(), address(),
4105 value(), // scratch1 4104 value(), // scratch1
(...skipping 1784 matching lines...) Expand 10 before | Expand all | Expand 10 after
5890 return_value_operand, NULL); 5889 return_value_operand, NULL);
5891 } 5890 }
5892 5891
5893 5892
5894 #undef __ 5893 #undef __
5895 5894
5896 } // namespace internal 5895 } // namespace internal
5897 } // namespace v8 5896 } // namespace v8
5898 5897
5899 #endif // V8_TARGET_ARCH_ARM64 5898 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/counters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698