| Index: runtime/vm/dart.cc
|
| ===================================================================
|
| --- runtime/vm/dart.cc (revision 32958)
|
| +++ runtime/vm/dart.cc (working copy)
|
| @@ -138,7 +138,6 @@
|
| // There is a planned and known asymmetry here: We enter one scope for the VM
|
| // isolate so that we can allocate the "persistent" scoped handles for the
|
| // predefined API values (such as Dart_True, Dart_False and Dart_Null).
|
| - START_TIMER(vm_isolate_, time_native_execution);
|
| Dart_EnterScope();
|
| Api::InitHandles();
|
|
|
| @@ -172,7 +171,6 @@
|
| // There is a planned and known asymmetry here: We exit one scope for the VM
|
| // isolate to account for the scope that was entered in Dart_InitOnce.
|
| Dart_ExitScope();
|
| - STOP_TIMER(vm_isolate_, time_native_execution);
|
|
|
| ShutdownIsolate();
|
| vm_isolate_ = NULL;
|
| @@ -195,8 +193,8 @@
|
|
|
| RawError* Dart::InitializeIsolate(const uint8_t* snapshot_buffer, void* data) {
|
| // Initialize the new isolate.
|
| + TIMERSCOPE(time_isolate_initialization);
|
| Isolate* isolate = Isolate::Current();
|
| - TIMERSCOPE(isolate, time_isolate_initialization);
|
| ASSERT(isolate != NULL);
|
| StackZone zone(isolate);
|
| HandleScope handle_scope(isolate);
|
|
|