Index: src/runtime/runtime-regexp.cc |
diff --git a/src/runtime/runtime-regexp.cc b/src/runtime/runtime-regexp.cc |
index ac1369ddcc4c52a43a10b5447c3256429192fda2..bf4546c6ccd7a1fa58cefa6478940ac56018ffd6 100644 |
--- a/src/runtime/runtime-regexp.cc |
+++ b/src/runtime/runtime-regexp.cc |
@@ -487,7 +487,7 @@ MUST_USE_RESULT static Object* StringReplaceGlobalRegExpWithString( |
int subject_length = subject->length(); |
// CompiledReplacement uses zone allocation. |
- Zone zone(isolate->allocator()); |
+ Zone zone(isolate->allocator(), ZONE_NAME); |
CompiledReplacement compiled_replacement(&zone); |
bool simple_replace = |
compiled_replacement.Compile(replacement, capture_count, subject_length); |
@@ -1517,7 +1517,7 @@ RUNTIME_FUNCTION(Runtime_RegExpReplace) { |
} |
} |
- Zone zone(isolate->allocator()); |
+ Zone zone(isolate->allocator(), ZONE_NAME); |
ZoneVector<Handle<Object>> results(&zone); |
while (true) { |