Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(559)

Unified Diff: runtime/vm/dart.cc

Issue 227433004: Add runtime and native entry tags (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/bootstrap_natives.cc ('k') | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/dart.cc
diff --git a/runtime/vm/dart.cc b/runtime/vm/dart.cc
index e03377d8e03cbd815454f622f4a7c0c45d0b64fc..b5e3ac48e577ba772812e39428b5c8ff81aeda10 100644
--- a/runtime/vm/dart.cc
+++ b/runtime/vm/dart.cc
@@ -101,6 +101,7 @@ const char* Dart::InitOnce(Dart_IsolateCreateCallback create,
CodeObservers::InitOnce();
ThreadInterrupter::InitOnce();
Profiler::InitOnce();
+
#if defined(USING_SIMULATOR)
Simulator::InitOnce();
#endif
@@ -249,6 +250,10 @@ RawError* Dart::InitializeIsolate(const uint8_t* snapshot_buffer, void* data) {
if (FLAG_print_class_table) {
isolate->class_table()->Print();
}
+
+ // Setup for profiling.
+ Profiler::InitProfilingForIsolate(isolate);
+
Service::SendIsolateStartupMessage();
return Error::null();
}
« no previous file with comments | « runtime/vm/bootstrap_natives.cc ('k') | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698