| Index: src/liveedit.cc
|
| diff --git a/src/liveedit.cc b/src/liveedit.cc
|
| index dac6aff156952cdc259f1a9aa17178cc4301ec9c..91a3bae1af7c072d9dd5c69e98e916e9b49762b9 100644
|
| --- a/src/liveedit.cc
|
| +++ b/src/liveedit.cc
|
| @@ -601,7 +601,9 @@ static void CompileScriptForTracker(Isolate* isolate, Handle<Script> script) {
|
| PostponeInterruptsScope postpone(isolate);
|
|
|
| // Build AST.
|
| - CompilationInfo info(script);
|
| + Zone zone(isolate);
|
| + CompilationInfo info(script, &zone);
|
| + ZoneScope scope(&zone, DELETE_ON_EXIT);
|
| info.MarkAsGlobal();
|
| // Parse and don't allow skipping lazy functions.
|
| if (ParserApi::Parse(&info, kNoParsingFlags)) {
|
| @@ -894,7 +896,6 @@ class FunctionInfoListener {
|
| JSArray* LiveEdit::GatherCompileInfo(Handle<Script> script,
|
| Handle<String> source) {
|
| Isolate* isolate = Isolate::Current();
|
| - ZoneScope zone_scope(isolate, DELETE_ON_EXIT);
|
|
|
| FunctionInfoListener listener;
|
| Handle<Object> original_source = Handle<Object>(script->source());
|
| @@ -1594,7 +1595,7 @@ static const char* DropActivationsInActiveThreadImpl(
|
| TARGET& target, bool do_drop, Zone* zone) {
|
| Isolate* isolate = Isolate::Current();
|
| Debug* debug = isolate->debug();
|
| - ZoneScope scope(isolate, DELETE_ON_EXIT);
|
| + ZoneScope scope(zone, DELETE_ON_EXIT);
|
| Vector<StackFrame*> frames = CreateStackMap(zone);
|
|
|
|
|
|
|