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

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

Issue 1358773002: Load the native call wrapper 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/stub_code_x64.cc ('k') | runtime/vm/thread.cc » ('j') | 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 #ifndef VM_THREAD_H_ 5 #ifndef VM_THREAD_H_
6 #define VM_THREAD_H_ 6 #define VM_THREAD_H_
7 7
8 #include "vm/globals.h" 8 #include "vm/globals.h"
9 #include "vm/os_thread.h" 9 #include "vm/os_thread.h"
10 #include "vm/store_buffer.h" 10 #include "vm/store_buffer.h"
(...skipping 28 matching lines...) Expand all
39 StubCode::FixCallersTarget_entry()->code(), NULL) \ 39 StubCode::FixCallersTarget_entry()->code(), NULL) \
40 V(RawCode*, fix_allocation_stub_code_, \ 40 V(RawCode*, fix_allocation_stub_code_, \
41 StubCode::FixAllocationStubTarget_entry()->code(), NULL) \ 41 StubCode::FixAllocationStubTarget_entry()->code(), NULL) \
42 V(RawCode*, invoke_dart_code_stub_, \ 42 V(RawCode*, invoke_dart_code_stub_, \
43 StubCode::InvokeDartCode_entry()->code(), NULL) \ 43 StubCode::InvokeDartCode_entry()->code(), NULL) \
44 44
45 45
46 #define CACHED_ADDRESSES_LIST(V) \ 46 #define CACHED_ADDRESSES_LIST(V) \
47 V(uword, update_store_buffer_entry_point_, \ 47 V(uword, update_store_buffer_entry_point_, \
48 StubCode::UpdateStoreBuffer_entry()->EntryPoint(), 0) \ 48 StubCode::UpdateStoreBuffer_entry()->EntryPoint(), 0) \
49 V(uword, native_call_wrapper_entry_point_, \
50 NativeEntry::NativeCallWrapperEntry(), 0) \
49 V(RawString**, predefined_symbols_address_, \ 51 V(RawString**, predefined_symbols_address_, \
50 Symbols::PredefinedAddress(), NULL) \ 52 Symbols::PredefinedAddress(), NULL) \
51 53
52 #define CACHED_CONSTANTS_LIST(V) \ 54 #define CACHED_CONSTANTS_LIST(V) \
53 CACHED_VM_OBJECTS_LIST(V) \ 55 CACHED_VM_OBJECTS_LIST(V) \
54 CACHED_ADDRESSES_LIST(V) \ 56 CACHED_ADDRESSES_LIST(V) \
55 57
56 struct InterruptedThreadState { 58 struct InterruptedThreadState {
57 ThreadId tid; 59 ThreadId tid;
58 uintptr_t pc; 60 uintptr_t pc;
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 friend class ApiZone; 341 friend class ApiZone;
340 friend class Isolate; 342 friend class Isolate;
341 friend class StackZone; 343 friend class StackZone;
342 friend class ThreadRegistry; 344 friend class ThreadRegistry;
343 DISALLOW_COPY_AND_ASSIGN(Thread); 345 DISALLOW_COPY_AND_ASSIGN(Thread);
344 }; 346 };
345 347
346 } // namespace dart 348 } // namespace dart
347 349
348 #endif // VM_THREAD_H_ 350 #endif // VM_THREAD_H_
OLDNEW
« no previous file with comments | « runtime/vm/stub_code_x64.cc ('k') | runtime/vm/thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698