| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index 51c21491819a296a34b7318ea24f277bc8fdd53b..b00b3ed2cf4f4dc7e3d3ab73e62f9f58e1527ac8 100755
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -337,9 +337,8 @@ bool Compiler::MakeCodeForLiveEdit(CompilationInfo* info) {
|
|
|
|
|
| static Handle<SharedFunctionInfo> MakeFunctionInfo(CompilationInfo* info) {
|
| - CompilationZoneScope zone_scope(DELETE_ON_EXIT);
|
| -
|
| Isolate* isolate = info->isolate();
|
| + CompilationZoneScope zone_scope(isolate, DELETE_ON_EXIT);
|
| PostponeInterruptsScope postpone(isolate);
|
|
|
| ASSERT(!isolate->global_context().is_null());
|
| @@ -571,12 +570,13 @@ Handle<SharedFunctionInfo> Compiler::CompileEval(Handle<String> source,
|
|
|
|
|
| bool Compiler::CompileLazy(CompilationInfo* info) {
|
| - CompilationZoneScope zone_scope(DELETE_ON_EXIT);
|
| + Isolate* isolate = info->isolate();
|
| +
|
| + CompilationZoneScope zone_scope(isolate, DELETE_ON_EXIT);
|
|
|
| // The VM is in the COMPILER state until exiting this function.
|
| - VMState state(info->isolate(), COMPILER);
|
| + VMState state(isolate, COMPILER);
|
|
|
| - Isolate* isolate = info->isolate();
|
| PostponeInterruptsScope postpone(isolate);
|
|
|
| Handle<SharedFunctionInfo> shared = info->shared_info();
|
|
|