Index: src/regexp/jsregexp.cc |
diff --git a/src/regexp/jsregexp.cc b/src/regexp/jsregexp.cc |
index 11481390aa152b614faaaf0621d623e931fa938e..ef4a61a520e7003cd14af5d13c86461855870a67 100644 |
--- a/src/regexp/jsregexp.cc |
+++ b/src/regexp/jsregexp.cc |
@@ -136,7 +136,7 @@ MaybeHandle<Object> RegExpImpl::Compile(Handle<JSRegExp> re, |
Handle<String> pattern, |
JSRegExp::Flags flags) { |
Isolate* isolate = re->GetIsolate(); |
- Zone zone(isolate->allocator()); |
+ Zone zone(isolate->allocator(), ZONE_NAME); |
CompilationCache* compilation_cache = isolate->compilation_cache(); |
MaybeHandle<FixedArray> maybe_cached = |
compilation_cache->LookupRegExp(pattern, flags); |
@@ -336,7 +336,7 @@ bool RegExpImpl::CompileIrregexp(Handle<JSRegExp> re, |
bool is_one_byte) { |
// Compile the RegExp. |
Isolate* isolate = re->GetIsolate(); |
- Zone zone(isolate->allocator()); |
+ Zone zone(isolate->allocator(), ZONE_NAME); |
PostponeInterruptsScope postpone(isolate); |
// If we had a compilation error the last time this is saved at the |
// saved code index. |