| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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_CLASS_FINALIZER_H_ | 5 #ifndef RUNTIME_VM_CLASS_FINALIZER_H_ |
| 6 #define VM_CLASS_FINALIZER_H_ | 6 #define RUNTIME_VM_CLASS_FINALIZER_H_ |
| 7 | 7 |
| 8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
| 9 #include "vm/growable_array.h" | 9 #include "vm/growable_array.h" |
| 10 #include "vm/object.h" | 10 #include "vm/object.h" |
| 11 | 11 |
| 12 namespace dart { | 12 namespace dart { |
| 13 | 13 |
| 14 // Traverses all pending, unfinalized classes, validates and marks them as | 14 // Traverses all pending, unfinalized classes, validates and marks them as |
| 15 // finalized. | 15 // finalized. |
| 16 class ClassFinalizer : public AllStatic { | 16 class ClassFinalizer : public AllStatic { |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 TokenPosition token_pos, | 173 TokenPosition token_pos, |
| 174 const char* format, ...) PRINTF_ATTRIBUTE(4, 5); | 174 const char* format, ...) PRINTF_ATTRIBUTE(4, 5); |
| 175 | 175 |
| 176 // Verify implicit offsets recorded in the VM for direct access to fields of | 176 // Verify implicit offsets recorded in the VM for direct access to fields of |
| 177 // Dart instances (e.g: _TypedListView, _ByteDataView). | 177 // Dart instances (e.g: _TypedListView, _ByteDataView). |
| 178 static void VerifyImplicitFieldOffsets(); | 178 static void VerifyImplicitFieldOffsets(); |
| 179 }; | 179 }; |
| 180 | 180 |
| 181 } // namespace dart | 181 } // namespace dart |
| 182 | 182 |
| 183 #endif // VM_CLASS_FINALIZER_H_ | 183 #endif // RUNTIME_VM_CLASS_FINALIZER_H_ |
| OLD | NEW |