[heap] Fix binary size regression

This fixes the binary size regression introduced by https://chromium-review.googlesource.com/c/v8/v8/+/2247561

Bug: v8:11643
Change-Id: Ic615b1820620dc7bfadce3075ce04b4d6d1f4b64
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2831160
Commit-Queue: Wenyu Zhao <wenyu.zhao@anu.edu.au>
Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#73998}
This commit is contained in:
Wenyu Zhao 2021-04-16 22:21:16 +10:00 committed by Commit Bot
parent 45e24fd6d9
commit 76d83daabf

View File

@ -133,7 +133,7 @@ class MarkingVisitorBase : public HeapVisitor<int, ConcreteVisitor> {
V8_INLINE int VisitWeakCell(Map map, WeakCell object); V8_INLINE int VisitWeakCell(Map map, WeakCell object);
// ObjectVisitor overrides. // ObjectVisitor overrides.
V8_INLINE void VisitMapPointer(HeapObject host) final { void VisitMapPointer(HeapObject host) final {
// Note that we are skipping the recording the slot because map objects // Note that we are skipping the recording the slot because map objects
// can't move, so this is safe (see ProcessStrongHeapObject for comparison) // can't move, so this is safe (see ProcessStrongHeapObject for comparison)
MarkObject(host, HeapObject::cast(host.map())); MarkObject(host, HeapObject::cast(host.map()));