| Index: runtime/vm/os_win.cc
|
| diff --git a/runtime/vm/os_win.cc b/runtime/vm/os_win.cc
|
| index 1203c1e15da735a715667f060215d675e65b8fe9..6d378a12e69e3efa9b10f43b186107f0f05b9195 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);
|
| @@ -263,6 +270,7 @@ void OS::Abort() {
|
|
|
|
|
| void OS::Exit(int code) {
|
| + CodeObservers::DeleteAll();
|
| exit(code);
|
| }
|
|
|
|
|