| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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/thread.h" | 5 #include "vm/thread.h" |
| 6 | 6 |
| 7 #include "vm/growable_array.h" | 7 #include "vm/growable_array.h" |
| 8 #include "vm/isolate.h" | 8 #include "vm/isolate.h" |
| 9 #include "vm/lockers.h" | 9 #include "vm/lockers.h" |
| 10 #include "vm/object.h" | 10 #include "vm/object.h" |
| 11 #include "vm/os_thread.h" | 11 #include "vm/os_thread.h" |
| 12 #include "vm/profiler.h" | 12 #include "vm/profiler.h" |
| 13 #include "vm/runtime_entry.h" | 13 #include "vm/runtime_entry.h" |
| 14 #include "vm/stub_code.h" | 14 #include "vm/stub_code.h" |
| 15 #include "vm/symbols.h" |
| 15 #include "vm/thread_interrupter.h" | 16 #include "vm/thread_interrupter.h" |
| 16 #include "vm/thread_registry.h" | 17 #include "vm/thread_registry.h" |
| 17 | 18 |
| 18 namespace dart { | 19 namespace dart { |
| 19 | 20 |
| 20 // The single thread local key which stores all the thread local data | 21 // The single thread local key which stores all the thread local data |
| 21 // for a thread. | 22 // for a thread. |
| 22 ThreadLocalKey Thread::thread_key_ = OSThread::kUnsetThreadLocalKey; | 23 ThreadLocalKey Thread::thread_key_ = OSThread::kUnsetThreadLocalKey; |
| 23 | 24 |
| 24 | 25 |
| (...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 return Thread::name##_entry_point_offset(); \ | 365 return Thread::name##_entry_point_offset(); \ |
| 365 } | 366 } |
| 366 LEAF_RUNTIME_ENTRY_LIST(COMPUTE_OFFSET) | 367 LEAF_RUNTIME_ENTRY_LIST(COMPUTE_OFFSET) |
| 367 #undef COMPUTE_OFFSET | 368 #undef COMPUTE_OFFSET |
| 368 | 369 |
| 369 UNREACHABLE(); | 370 UNREACHABLE(); |
| 370 return -1; | 371 return -1; |
| 371 } | 372 } |
| 372 | 373 |
| 373 } // namespace dart | 374 } // namespace dart |
| OLD | NEW |