[heap] Better inlining for incremental marking visitor
Bug: Change-Id: If88c6deee07b0188bd6177a4cef6a14dd7610392 Reviewed-on: https://chromium-review.googlesource.com/561397 Reviewed-by: Ulan Degenbaev <ulan@chromium.org> Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Cr-Commit-Position: refs/heads/master@{#46443}
This commit is contained in:
parent
6c8aed76ff
commit
2638ba16fd
@ -290,7 +290,7 @@ class IncrementalMarkingMarkingVisitor final
|
||||
return Parent::VisitNativeContext(map, context);
|
||||
}
|
||||
|
||||
inline void VisitPointer(HeapObject* host, Object** p) final {
|
||||
V8_INLINE void VisitPointer(HeapObject* host, Object** p) final {
|
||||
Object* target = *p;
|
||||
if (target->IsHeapObject()) {
|
||||
collector_->RecordSlot(host, p, target);
|
||||
@ -298,8 +298,8 @@ class IncrementalMarkingMarkingVisitor final
|
||||
}
|
||||
}
|
||||
|
||||
inline void VisitPointers(HeapObject* host, Object** start,
|
||||
Object** end) final {
|
||||
V8_INLINE void VisitPointers(HeapObject* host, Object** start,
|
||||
Object** end) final {
|
||||
for (Object** p = start; p < end; p++) {
|
||||
Object* target = *p;
|
||||
if (target->IsHeapObject()) {
|
||||
|
Loading…
Reference in New Issue
Block a user