| Index: runtime/vm/dart.cc
|
| ===================================================================
|
| --- runtime/vm/dart.cc (revision 1496)
|
| +++ runtime/vm/dart.cc (working copy)
|
| @@ -37,8 +37,8 @@
|
| {
|
| ASSERT(vm_isolate_ == NULL);
|
| vm_isolate_ = Isolate::Init();
|
| - Zone zone;
|
| - HandleScope handle_scope;
|
| + Zone zone(vm_isolate_);
|
| + HandleScope handle_scope(vm_isolate_);
|
| Heap::Init(vm_isolate_);
|
| ObjectStore::Init(vm_isolate_);
|
| Object::InitOnce();
|
| @@ -64,8 +64,8 @@
|
| // Initialize the new isolate.
|
| Isolate* isolate = Isolate::Current();
|
| ASSERT(isolate != NULL);
|
| - Zone zone;
|
| - HandleScope handle_scope;
|
| + Zone zone(isolate);
|
| + HandleScope handle_scope(isolate);
|
| Heap::Init(isolate);
|
| ObjectStore::Init(isolate);
|
|
|
|
|