| Index: runtime/bin/vmstats_impl_win.cc
|
| diff --git a/runtime/bin/vmstats_impl_win.cc b/runtime/bin/vmstats_impl_win.cc
|
| deleted file mode 100644
|
| index 31578010af3a44b401890d2e8197be7e1de58830..0000000000000000000000000000000000000000
|
| --- a/runtime/bin/vmstats_impl_win.cc
|
| +++ /dev/null
|
| @@ -1,32 +0,0 @@
|
| -// Copyright (c) 2013, 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 "platform/globals.h"
|
| -#if defined(TARGET_OS_WINDOWS)
|
| -
|
| -#include "bin/vmstats_impl.h"
|
| -
|
| -#include <signal.h> // NOLINT
|
| -
|
| -
|
| -namespace dart {
|
| -namespace bin {
|
| -
|
| -static void sig_handler(int sig) {
|
| - if (sig == SIGBREAK) {
|
| - VmStats::DumpStack();
|
| - }
|
| -}
|
| -
|
| -void VmStats::Initialize() {
|
| - // Enable SIGBREAK (ctrl-break) stack dumps.
|
| - if (signal(SIGBREAK, sig_handler) == SIG_ERR) {
|
| - perror("Adding SIGBREAK signal handler failed");
|
| - }
|
| -}
|
| -
|
| -} // namespace bin
|
| -} // namespace dart
|
| -
|
| -#endif // defined(TARGET_OS_WINDOWS)
|
|
|