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

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: Revert dynamic buckets 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
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 4077 matching lines...) Expand 10 before | Expand all | Expand 10 after
4088 // but we need to save them before using them. 4088 // but we need to save them before using them.
4089 regs_.Save(masm); 4089 regs_.Save(masm);
4090 4090
4091 if (remembered_set_action() == EMIT_REMEMBERED_SET) { 4091 if (remembered_set_action() == EMIT_REMEMBERED_SET) {
4092 Label dont_need_remembered_set; 4092 Label dont_need_remembered_set;
4093 4093
4094 Register val = regs_.scratch0(); 4094 Register val = regs_.scratch0();
4095 __ Ldr(val, MemOperand(regs_.address())); 4095 __ Ldr(val, MemOperand(regs_.address()));
4096 __ JumpIfNotInNewSpace(val, &dont_need_remembered_set); 4096 __ JumpIfNotInNewSpace(val, &dont_need_remembered_set);
4097 4097
4098 __ CheckPageFlagSet(regs_.object(), val, 1 << MemoryChunk::SCAN_ON_SCAVENGE, 4098 __ JumpIfInNewSpace(regs_.object(), &dont_need_remembered_set);
4099 &dont_need_remembered_set);
4100 4099
4101 // First notify the incremental marker if necessary, then update the 4100 // First notify the incremental marker if necessary, then update the
4102 // remembered set. 4101 // remembered set.
4103 CheckNeedsToInformIncrementalMarker( 4102 CheckNeedsToInformIncrementalMarker(
4104 masm, kUpdateRememberedSetOnNoNeedToInformIncrementalMarker, mode); 4103 masm, kUpdateRememberedSetOnNoNeedToInformIncrementalMarker, mode);
4105 InformIncrementalMarker(masm); 4104 InformIncrementalMarker(masm);
4106 regs_.Restore(masm); // Restore the extra scratch registers we used. 4105 regs_.Restore(masm); // Restore the extra scratch registers we used.
4107 4106
4108 __ RememberedSetHelper(object(), address(), 4107 __ RememberedSetHelper(object(), address(),
4109 value(), // scratch1 4108 value(), // scratch1
(...skipping 1784 matching lines...) Expand 10 before | Expand all | Expand 10 after
5894 return_value_operand, NULL); 5893 return_value_operand, NULL);
5895 } 5894 }
5896 5895
5897 5896
5898 #undef __ 5897 #undef __
5899 5898
5900 } // namespace internal 5899 } // namespace internal
5901 } // namespace v8 5900 } // namespace v8
5902 5901
5903 #endif // V8_TARGET_ARCH_ARM64 5902 #endif // V8_TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « src/arm/code-stubs-arm.cc ('k') | src/counters.h » ('j') | src/heap/store-buffer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698