| Index: runtime/vm/profiler.cc
|
| diff --git a/runtime/vm/profiler.cc b/runtime/vm/profiler.cc
|
| index 3cfc3d3e0c0ccf0dc57de73f0c2105b718caed72..90d5a46ac786653e7b944a93b757e9aeb6c1a12c 100644
|
| --- a/runtime/vm/profiler.cc
|
| +++ b/runtime/vm/profiler.cc
|
| @@ -86,6 +86,10 @@ void ProfilerManager::InitOnce() {
|
| // Force disable of profiling on simulator.
|
| FLAG_profile = false;
|
| #endif
|
| +#if defined(TARGET_OS_WINDOWS)
|
| + // Force disable of profiling on Windows.
|
| + FLAG_profile = false;
|
| +#endif
|
| if (!FLAG_profile) {
|
| return;
|
| }
|
|
|