| 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 VM_THREAD_H_ | 5 #ifndef VM_THREAD_H_ |
| 6 #define VM_THREAD_H_ | 6 #define 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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()->CheckedEntryPoint(), 0) \ |
| 119 V(uword, monomorphic_miss_entry_, \ |
| 120 StubCode::MonomorphicMiss_entry()->EntryPoint(), 0) \ |
| 119 | 121 |
| 120 #endif | 122 #endif |
| 121 | 123 |
| 122 #define CACHED_ADDRESSES_LIST(V) \ | 124 #define CACHED_ADDRESSES_LIST(V) \ |
| 123 CACHED_VM_STUBS_ADDRESSES_LIST(V) \ | 125 CACHED_VM_STUBS_ADDRESSES_LIST(V) \ |
| 124 V(uword, native_call_wrapper_entry_point_, \ | 126 V(uword, native_call_wrapper_entry_point_, \ |
| 125 NativeEntry::NativeCallWrapperEntry(), 0) \ | 127 NativeEntry::NativeCallWrapperEntry(), 0) \ |
| 126 V(RawString**, predefined_symbols_address_, \ | 128 V(RawString**, predefined_symbols_address_, \ |
| 127 Symbols::PredefinedAddress(), NULL) \ | 129 Symbols::PredefinedAddress(), NULL) \ |
| 128 V(uword, double_negate_address_, \ | 130 V(uword, double_negate_address_, \ |
| (...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 784 // Disable thread interrupts. | 786 // Disable thread interrupts. |
| 785 class DisableThreadInterruptsScope : public StackResource { | 787 class DisableThreadInterruptsScope : public StackResource { |
| 786 public: | 788 public: |
| 787 explicit DisableThreadInterruptsScope(Thread* thread); | 789 explicit DisableThreadInterruptsScope(Thread* thread); |
| 788 ~DisableThreadInterruptsScope(); | 790 ~DisableThreadInterruptsScope(); |
| 789 }; | 791 }; |
| 790 | 792 |
| 791 } // namespace dart | 793 } // namespace dart |
| 792 | 794 |
| 793 #endif // VM_THREAD_H_ | 795 #endif // VM_THREAD_H_ |
| OLD | NEW |