OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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_ISOLATE_H_ | 5 #ifndef VM_ISOLATE_H_ |
6 #define VM_ISOLATE_H_ | 6 #define VM_ISOLATE_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/base_isolate.h" | 10 #include "vm/base_isolate.h" |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 void VisitObjectPointers(ObjectPointerVisitor* visitor, | 138 void VisitObjectPointers(ObjectPointerVisitor* visitor, |
139 bool visit_prologue_weak_persistent_handles, | 139 bool visit_prologue_weak_persistent_handles, |
140 bool validate_frames); | 140 bool validate_frames); |
141 | 141 |
142 // Visits weak object pointers. | 142 // Visits weak object pointers. |
143 void VisitWeakPersistentHandles(HandleVisitor* visitor, | 143 void VisitWeakPersistentHandles(HandleVisitor* visitor, |
144 bool visit_prologue_weak_persistent_handles); | 144 bool visit_prologue_weak_persistent_handles); |
145 void VisitPrologueWeakPersistentHandles(HandleVisitor* visitor); | 145 void VisitPrologueWeakPersistentHandles(HandleVisitor* visitor); |
146 | 146 |
147 StoreBuffer* store_buffer() { return &store_buffer_; } | 147 StoreBuffer* store_buffer() { return &store_buffer_; } |
148 static intptr_t store_buffer_offset() { | |
149 return OFFSET_OF(Isolate, store_buffer_); | |
150 } | |
151 | 148 |
152 ClassTable* class_table() { return &class_table_; } | 149 ClassTable* class_table() { return &class_table_; } |
153 static intptr_t class_table_offset() { | 150 static intptr_t class_table_offset() { |
154 return OFFSET_OF(Isolate, class_table_); | 151 return OFFSET_OF(Isolate, class_table_); |
155 } | 152 } |
156 | 153 |
157 MegamorphicCacheTable* megamorphic_cache_table() { | 154 MegamorphicCacheTable* megamorphic_cache_table() { |
158 return &megamorphic_cache_table_; | 155 return &megamorphic_cache_table_; |
159 } | 156 } |
160 | 157 |
(...skipping 806 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
967 intptr_t serialized_args_len_; | 964 intptr_t serialized_args_len_; |
968 uint8_t* serialized_message_; | 965 uint8_t* serialized_message_; |
969 intptr_t serialized_message_len_; | 966 intptr_t serialized_message_len_; |
970 bool paused_; | 967 bool paused_; |
971 bool checked_; | 968 bool checked_; |
972 }; | 969 }; |
973 | 970 |
974 } // namespace dart | 971 } // namespace dart |
975 | 972 |
976 #endif // VM_ISOLATE_H_ | 973 #endif // VM_ISOLATE_H_ |
OLD | NEW |