| Index: src/jsregexp.cc
|
| diff --git a/src/jsregexp.cc b/src/jsregexp.cc
|
| index 66b63325dbaf4c85249397a17505438db80b05d7..4d42c11d3513436044d5302d5c5c3b4a4fac18c5 100644
|
| --- a/src/jsregexp.cc
|
| +++ b/src/jsregexp.cc
|
| @@ -127,7 +127,7 @@ Handle<Object> RegExpImpl::Compile(Handle<JSRegExp> re,
|
| return re;
|
| }
|
| pattern = FlattenGetString(pattern);
|
| - CompilationZoneScope zone_scope(DELETE_ON_EXIT);
|
| + CompilationZoneScope zone_scope(isolate, DELETE_ON_EXIT);
|
| PostponeInterruptsScope postpone(isolate);
|
| RegExpCompileData parse_result;
|
| FlatStringReader reader(isolate, pattern);
|
| @@ -302,7 +302,7 @@ bool RegExpImpl::EnsureCompiledIrregexp(Handle<JSRegExp> re, bool is_ascii) {
|
| bool RegExpImpl::CompileIrregexp(Handle<JSRegExp> re, bool is_ascii) {
|
| // Compile the RegExp.
|
| Isolate* isolate = re->GetIsolate();
|
| - CompilationZoneScope zone_scope(DELETE_ON_EXIT);
|
| + CompilationZoneScope zone_scope(isolate, DELETE_ON_EXIT);
|
| PostponeInterruptsScope postpone(isolate);
|
| Object* entry = re->DataAt(JSRegExp::code_index(is_ascii));
|
| if (entry->IsJSObject()) {
|
|
|