| 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/lockers.h" |
| 9 #include "vm/native_symbol.h" | 9 #include "vm/native_symbol.h" |
| 10 #include "vm/thread.h" | 10 #include "vm/os_thread.h" |
| 11 | 11 |
| 12 #include <dbghelp.h> // NOLINT | 12 #include <dbghelp.h> // NOLINT |
| 13 | 13 |
| 14 namespace dart { | 14 namespace dart { |
| 15 | 15 |
| 16 static bool running_ = false; | 16 static bool running_ = false; |
| 17 static Mutex* lock_ = NULL; | 17 static Mutex* lock_ = NULL; |
| 18 | 18 |
| 19 void NativeSymbolResolver::InitOnce() { | 19 void NativeSymbolResolver::InitOnce() { |
| 20 ASSERT(running_ == false); | 20 ASSERT(running_ == false); |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 | 78 |
| 79 | 79 |
| 80 void NativeSymbolResolver::FreeSymbolName(char* name) { | 80 void NativeSymbolResolver::FreeSymbolName(char* name) { |
| 81 free(name); | 81 free(name); |
| 82 } | 82 } |
| 83 | 83 |
| 84 | 84 |
| 85 } // namespace dart | 85 } // namespace dart |
| 86 | 86 |
| 87 #endif // defined(TARGET_OS_WINDOWS) | 87 #endif // defined(TARGET_OS_WINDOWS) |
| OLD | NEW |