summaryrefslogtreecommitdiff
path: root/deps/v8/src/incremental-marking-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/incremental-marking-inl.h')
-rw-r--r--deps/v8/src/incremental-marking-inl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/v8/src/incremental-marking-inl.h b/deps/v8/src/incremental-marking-inl.h
index 7ae2c99a0d..3e3d6c43fd 100644
--- a/deps/v8/src/incremental-marking-inl.h
+++ b/deps/v8/src/incremental-marking-inl.h
@@ -95,7 +95,7 @@ void IncrementalMarking::BlackToGreyAndUnshift(HeapObject* obj,
ASSERT(IsMarking());
Marking::BlackToGrey(mark_bit);
int obj_size = obj->Size();
- MemoryChunk::IncrementLiveBytes(obj->address(), -obj_size);
+ MemoryChunk::IncrementLiveBytesFromGC(obj->address(), -obj_size);
bytes_scanned_ -= obj_size;
int64_t old_bytes_rescanned = bytes_rescanned_;
bytes_rescanned_ = old_bytes_rescanned + obj_size;