Index: runtime/vm/dart.cc |
diff --git a/runtime/vm/dart.cc b/runtime/vm/dart.cc |
index b54564b23b104e0aa047a975061068653de0ce40..ecbfa2d3e85471621aebc90d13342bca3c35729f 100644 |
--- a/runtime/vm/dart.cc |
+++ b/runtime/vm/dart.cc |
@@ -1,10 +1,11 @@ |
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
#include "vm/dart.h" |
#include "vm/code_index_table.h" |
+#include "vm/dart_api_state.h" |
#include "vm/flags.h" |
#include "vm/freelist.h" |
#include "vm/handles.h" |
@@ -34,6 +35,7 @@ bool Dart::InitOnce(Dart_IsolateCreateCallback create, |
Isolate::InitOnce(); |
PortMap::InitOnce(); |
FreeListElement::InitOnce(); |
+ Api::InitOnce(); |
// Create the VM isolate and finish the VM initialization. |
{ |
ASSERT(vm_isolate_ == NULL); |