Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(417)

Side by Side Diff: runtime/vm/thread.cc

Issue 1304243008: Load predefined symbols address via Thread. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « runtime/vm/thread.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « runtime/vm/thread.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698