| 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 CACHED_VM_STUBS_LIST(V) \ | 98 CACHED_VM_STUBS_LIST(V) \ |
| 99 | 99 |
| 100 #if defined(TARGET_ARCH_DBC) | 100 #if defined(TARGET_ARCH_DBC) |
| 101 #define CACHED_VM_STUBS_ADDRESSES_LIST(V) | 101 #define CACHED_VM_STUBS_ADDRESSES_LIST(V) |
| 102 #else | 102 #else |
| 103 #define CACHED_VM_STUBS_ADDRESSES_LIST(V) \ | 103 #define CACHED_VM_STUBS_ADDRESSES_LIST(V) \ |
| 104 V(uword, update_store_buffer_entry_point_, \ | 104 V(uword, update_store_buffer_entry_point_, \ |
| 105 StubCode::UpdateStoreBuffer_entry()->EntryPoint(), 0) \ | 105 StubCode::UpdateStoreBuffer_entry()->EntryPoint(), 0) \ |
| 106 V(uword, call_to_runtime_entry_point_, \ | 106 V(uword, call_to_runtime_entry_point_, \ |
| 107 StubCode::CallToRuntime_entry()->EntryPoint(), 0) \ | 107 StubCode::CallToRuntime_entry()->EntryPoint(), 0) \ |
| 108 V(uword, megamorphic_lookup_entry_point_, \ |
| 109 StubCode::MegamorphicLookup_entry()->EntryPoint(), 0) \ |
| 108 | 110 |
| 109 #endif | 111 #endif |
| 110 | 112 |
| 111 #define CACHED_ADDRESSES_LIST(V) \ | 113 #define CACHED_ADDRESSES_LIST(V) \ |
| 112 CACHED_VM_STUBS_ADDRESSES_LIST(V) \ | 114 CACHED_VM_STUBS_ADDRESSES_LIST(V) \ |
| 113 V(uword, native_call_wrapper_entry_point_, \ | 115 V(uword, native_call_wrapper_entry_point_, \ |
| 114 NativeEntry::NativeCallWrapperEntry(), 0) \ | 116 NativeEntry::NativeCallWrapperEntry(), 0) \ |
| 115 V(RawString**, predefined_symbols_address_, \ | 117 V(RawString**, predefined_symbols_address_, \ |
| 116 Symbols::PredefinedAddress(), NULL) \ | 118 Symbols::PredefinedAddress(), NULL) \ |
| 117 V(uword, double_negate_address_, \ | 119 V(uword, double_negate_address_, \ |
| (...skipping 648 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 766 // Disable thread interrupts. | 768 // Disable thread interrupts. |
| 767 class DisableThreadInterruptsScope : public StackResource { | 769 class DisableThreadInterruptsScope : public StackResource { |
| 768 public: | 770 public: |
| 769 explicit DisableThreadInterruptsScope(Thread* thread); | 771 explicit DisableThreadInterruptsScope(Thread* thread); |
| 770 ~DisableThreadInterruptsScope(); | 772 ~DisableThreadInterruptsScope(); |
| 771 }; | 773 }; |
| 772 | 774 |
| 773 } // namespace dart | 775 } // namespace dart |
| 774 | 776 |
| 775 #endif // VM_THREAD_H_ | 777 #endif // VM_THREAD_H_ |
| OLD | NEW |