Index: src/runtime/runtime-regexp.cc |
diff --git a/src/runtime/runtime-regexp.cc b/src/runtime/runtime-regexp.cc |
index d572eedd31c6971b9f6fc45592a107dfa2a2e468..ccdbea4b96f67ae41aa880f7b3da9932200f364d 100644 |
--- a/src/runtime/runtime-regexp.cc |
+++ b/src/runtime/runtime-regexp.cc |
@@ -652,7 +652,7 @@ MUST_USE_RESULT static Object* StringReplaceGlobalRegExpWithEmptyString( |
if (!heap->lo_space()->Contains(*answer)) { |
heap->CreateFillerObjectAt(end_of_string, delta, ClearRecordedSlots::kNo); |
} |
- heap->AdjustLiveBytes(*answer, -delta, Heap::CONCURRENT_TO_SWEEPER); |
+ heap->AdjustLiveBytes(*answer, -delta); |
return *answer; |
} |