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

Unified Diff: runtime/vm/os_win.cc

Issue 11660011: Clean up CodeObservers (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add a period to a comment. Created 8 years 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/os_macos.cc ('k') | runtime/vm/vm_sources.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/os_win.cc
diff --git a/runtime/vm/os_win.cc b/runtime/vm/os_win.cc
index 1203c1e15da735a715667f060215d675e65b8fe9..75bd8f85b8c713603d8418b98319f7bd05fe43f9 100644
--- a/runtime/vm/os_win.cc
+++ b/runtime/vm/os_win.cc
@@ -233,6 +233,13 @@ bool OS::StringToInt64(const char* str, int64_t* value) {
}
+void OS::RegisterCodeObservers() {
+#if defined(DART_VTUNE_SUPPORT)
+ Register(new VTuneCodeObserver);
+#endif
+}
+
+
void OS::PrintErr(const char* format, ...) {
va_list args;
va_start(args, format);
« no previous file with comments | « runtime/vm/os_macos.cc ('k') | runtime/vm/vm_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698