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 #ifndef RUNTIME_VM_THREAD_H_ | 5 #ifndef RUNTIME_VM_THREAD_H_ |
6 #define RUNTIME_VM_THREAD_H_ | 6 #define RUNTIME_VM_THREAD_H_ |
7 | 7 |
8 #include "include/dart_api.h" | 8 #include "include/dart_api.h" |
9 #include "platform/assert.h" | 9 #include "platform/assert.h" |
10 #include "vm/atomic.h" | 10 #include "vm/atomic.h" |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 | 108 |
109 #if defined(TARGET_ARCH_DBC) | 109 #if defined(TARGET_ARCH_DBC) |
110 #define CACHED_VM_STUBS_ADDRESSES_LIST(V) | 110 #define CACHED_VM_STUBS_ADDRESSES_LIST(V) |
111 #else | 111 #else |
112 #define CACHED_VM_STUBS_ADDRESSES_LIST(V) \ | 112 #define CACHED_VM_STUBS_ADDRESSES_LIST(V) \ |
113 V(uword, update_store_buffer_entry_point_, \ | 113 V(uword, update_store_buffer_entry_point_, \ |
114 StubCode::UpdateStoreBuffer_entry()->EntryPoint(), 0) \ | 114 StubCode::UpdateStoreBuffer_entry()->EntryPoint(), 0) \ |
115 V(uword, call_to_runtime_entry_point_, \ | 115 V(uword, call_to_runtime_entry_point_, \ |
116 StubCode::CallToRuntime_entry()->EntryPoint(), 0) \ | 116 StubCode::CallToRuntime_entry()->EntryPoint(), 0) \ |
117 V(uword, megamorphic_call_checked_entry_, \ | 117 V(uword, megamorphic_call_checked_entry_, \ |
118 StubCode::MegamorphicCall_entry()->CheckedEntryPoint(), 0) \ | 118 StubCode::MegamorphicCall_entry()->EntryPoint(), 0) \ |
119 V(uword, monomorphic_miss_entry_, \ | 119 V(uword, monomorphic_miss_entry_, \ |
120 StubCode::MonomorphicMiss_entry()->EntryPoint(), 0) \ | 120 StubCode::MonomorphicMiss_entry()->EntryPoint(), 0) \ |
121 | 121 |
122 #endif | 122 #endif |
123 | 123 |
124 #define CACHED_ADDRESSES_LIST(V) \ | 124 #define CACHED_ADDRESSES_LIST(V) \ |
125 CACHED_VM_STUBS_ADDRESSES_LIST(V) \ | 125 CACHED_VM_STUBS_ADDRESSES_LIST(V) \ |
126 V(uword, native_call_wrapper_entry_point_, \ | 126 V(uword, native_call_wrapper_entry_point_, \ |
127 NativeEntry::NativeCallWrapperEntry(), 0) \ | 127 NativeEntry::NativeCallWrapperEntry(), 0) \ |
128 V(RawString**, predefined_symbols_address_, \ | 128 V(RawString**, predefined_symbols_address_, \ |
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
786 // Disable thread interrupts. | 786 // Disable thread interrupts. |
787 class DisableThreadInterruptsScope : public StackResource { | 787 class DisableThreadInterruptsScope : public StackResource { |
788 public: | 788 public: |
789 explicit DisableThreadInterruptsScope(Thread* thread); | 789 explicit DisableThreadInterruptsScope(Thread* thread); |
790 ~DisableThreadInterruptsScope(); | 790 ~DisableThreadInterruptsScope(); |
791 }; | 791 }; |
792 | 792 |
793 } // namespace dart | 793 } // namespace dart |
794 | 794 |
795 #endif // RUNTIME_VM_THREAD_H_ | 795 #endif // RUNTIME_VM_THREAD_H_ |
OLD | NEW |