Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index aaf14a48988abff36b0bbe9cc628cab01a32a8b5..b9ec719806f420e7d59efbfcfc0cdf7f8b3cc57e 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -3178,7 +3178,7 @@ MUST_USE_RESULT static MaybeObject* StringReplaceRegExpWithEmptyString( |
Address end_of_string = answer->address() + string_size; |
isolate->heap()->CreateFillerObjectAt(end_of_string, delta); |
if (Marking::IsBlack(Marking::MarkBitFrom(*answer))) { |
- MemoryChunk::IncrementLiveBytes(answer->address(), -delta); |
+ MemoryChunk::IncrementLiveBytesFromMutator(answer->address(), -delta); |
} |
return *answer; |