Commit 58077797 authored by Michael Lippautz's avatar Michael Lippautz Committed by Commit Bot

[heap] Re-enable regexp flushing

It was disabled by accident when removing code flushing. A future
experiment should check whether we actually still need it.

Bug: 
Change-Id: Iab8593d982289200775f30622f7a3ce93795d03e
Reviewed-on: https://chromium-review.googlesource.com/555430Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#46322}
parent d0565a9b
...@@ -1179,7 +1179,7 @@ class MarkCompactMarkingVisitor ...@@ -1179,7 +1179,7 @@ class MarkCompactMarkingVisitor
// we flush the code. // we flush the code.
static void VisitRegExpAndFlushCode(Map* map, HeapObject* object) { static void VisitRegExpAndFlushCode(Map* map, HeapObject* object) {
Heap* heap = map->GetHeap(); Heap* heap = map->GetHeap();
if (FLAG_flush_regexp_code) { if (!FLAG_flush_regexp_code) {
JSObjectVisitor::Visit(map, object); JSObjectVisitor::Visit(map, object);
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment