OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #include "vm/globals.h" | 5 #include "vm/globals.h" |
6 #if defined(TARGET_OS_WINDOWS) | 6 #if defined(TARGET_OS_WINDOWS) |
7 | 7 |
| 8 #include "vm/lockers.h" |
8 #include "vm/native_symbol.h" | 9 #include "vm/native_symbol.h" |
9 #include "vm/thread.h" | 10 #include "vm/thread.h" |
10 | 11 |
11 #include <dbghelp.h> // NOLINT | 12 #include <dbghelp.h> // NOLINT |
12 | 13 |
13 namespace dart { | 14 namespace dart { |
14 | 15 |
15 static bool running_ = false; | 16 static bool running_ = false; |
16 static Mutex* lock_ = NULL; | 17 static Mutex* lock_ = NULL; |
17 | 18 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 | 78 |
78 | 79 |
79 void NativeSymbolResolver::FreeSymbolName(char* name) { | 80 void NativeSymbolResolver::FreeSymbolName(char* name) { |
80 free(name); | 81 free(name); |
81 } | 82 } |
82 | 83 |
83 | 84 |
84 } // namespace dart | 85 } // namespace dart |
85 | 86 |
86 #endif // defined(TARGET_OS_WINDOWS) | 87 #endif // defined(TARGET_OS_WINDOWS) |
OLD | NEW |