| 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 "platform/thread.h" | 10 #include "platform/thread.h" |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 void RegisterClass(const Class& cls); | 106 void RegisterClass(const Class& cls); |
| 107 void RegisterClassAt(intptr_t index, const Class& cls); | 107 void RegisterClassAt(intptr_t index, const Class& cls); |
| 108 void ValidateClassTable(); | 108 void ValidateClassTable(); |
| 109 | 109 |
| 110 // Visit all object pointers. | 110 // Visit all object pointers. |
| 111 void VisitObjectPointers(ObjectPointerVisitor* visitor, | 111 void VisitObjectPointers(ObjectPointerVisitor* visitor, |
| 112 bool visit_prologue_weak_persistent_handles, | 112 bool visit_prologue_weak_persistent_handles, |
| 113 bool validate_frames); | 113 bool validate_frames); |
| 114 | 114 |
| 115 // Visits weak object pointers. | 115 // Visits weak object pointers. |
| 116 void VisitWeakPersistentHandles(HandleVisitor* visit, | 116 void VisitWeakPersistentHandles(HandleVisitor* visitor, |
| 117 bool visit_prologue_weak_persistent_handles); | 117 bool visit_prologue_weak_persistent_handles); |
| 118 void VisitPrologueWeakPersistentHandles(HandleVisitor* visitor); |
| 118 | 119 |
| 119 StoreBuffer* store_buffer() { return &store_buffer_; } | 120 StoreBuffer* store_buffer() { return &store_buffer_; } |
| 120 static intptr_t store_buffer_offset() { | 121 static intptr_t store_buffer_offset() { |
| 121 return OFFSET_OF(Isolate, store_buffer_); | 122 return OFFSET_OF(Isolate, store_buffer_); |
| 122 } | 123 } |
| 123 | 124 |
| 124 ClassTable* class_table() { return &class_table_; } | 125 ClassTable* class_table() { return &class_table_; } |
| 125 static intptr_t class_table_offset() { | 126 static intptr_t class_table_offset() { |
| 126 return OFFSET_OF(Isolate, class_table_); | 127 return OFFSET_OF(Isolate, class_table_); |
| 127 } | 128 } |
| (...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 667 char* script_url_; | 668 char* script_url_; |
| 668 char* library_url_; | 669 char* library_url_; |
| 669 char* class_name_; | 670 char* class_name_; |
| 670 char* function_name_; | 671 char* function_name_; |
| 671 char* exception_callback_name_; | 672 char* exception_callback_name_; |
| 672 }; | 673 }; |
| 673 | 674 |
| 674 } // namespace dart | 675 } // namespace dart |
| 675 | 676 |
| 676 #endif // VM_ISOLATE_H_ | 677 #endif // VM_ISOLATE_H_ |
| OLD | NEW |