| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 RUNTIME_VM_KERNEL_READER_H_ | 5 #ifndef RUNTIME_VM_KERNEL_READER_H_ |
| 6 #define RUNTIME_VM_KERNEL_READER_H_ | 6 #define RUNTIME_VM_KERNEL_READER_H_ |
| 7 | 7 |
| 8 #if !defined(DART_PRECOMPILED_RUNTIME) | 8 #if !defined(DART_PRECOMPILED_RUNTIME) |
| 9 #include <map> | 9 #include <map> |
| 10 | 10 |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 const dart::Field& field, | 129 const dart::Field& field, |
| 130 FieldHelper* field_helper, | 130 FieldHelper* field_helper, |
| 131 intptr_t field_offset); | 131 intptr_t field_offset); |
| 132 | 132 |
| 133 void SetupFieldAccessorFunction(const dart::Class& klass, | 133 void SetupFieldAccessorFunction(const dart::Class& klass, |
| 134 const dart::Function& function); | 134 const dart::Function& function); |
| 135 | 135 |
| 136 dart::Library& LookupLibrary(NameIndex library); | 136 dart::Library& LookupLibrary(NameIndex library); |
| 137 dart::Class& LookupClass(NameIndex klass); | 137 dart::Class& LookupClass(NameIndex klass); |
| 138 | 138 |
| 139 dart::RawFunction::Kind GetFunctionType( | 139 dart::RawFunction::Kind GetFunctionType(ProcedureHelper::Kind procedure_kind); |
| 140 Procedure::ProcedureKind procedure_kind); | |
| 141 | 140 |
| 142 Program* program_; | 141 Program* program_; |
| 143 | 142 |
| 144 dart::Thread* thread_; | 143 dart::Thread* thread_; |
| 145 dart::Zone* zone_; | 144 dart::Zone* zone_; |
| 146 dart::Isolate* isolate_; | 145 dart::Isolate* isolate_; |
| 147 Array& scripts_; | 146 Array& scripts_; |
| 148 Array& patch_classes_; | 147 Array& patch_classes_; |
| 149 ActiveClass active_class_; | 148 ActiveClass active_class_; |
| 150 BuildingTranslationHelper translation_helper_; | 149 BuildingTranslationHelper translation_helper_; |
| 151 StreamingFlowGraphBuilder builder_; | 150 StreamingFlowGraphBuilder builder_; |
| 152 | 151 |
| 153 Mapping<dart::Library> libraries_; | 152 Mapping<dart::Library> libraries_; |
| 154 Mapping<dart::Class> classes_; | 153 Mapping<dart::Class> classes_; |
| 155 | 154 |
| 156 GrowableArray<const dart::Function*> functions_; | 155 GrowableArray<const dart::Function*> functions_; |
| 157 GrowableArray<const dart::Field*> fields_; | 156 GrowableArray<const dart::Field*> fields_; |
| 158 }; | 157 }; |
| 159 | 158 |
| 160 } // namespace kernel | 159 } // namespace kernel |
| 161 } // namespace dart | 160 } // namespace dart |
| 162 | 161 |
| 163 #endif // !defined(DART_PRECOMPILED_RUNTIME) | 162 #endif // !defined(DART_PRECOMPILED_RUNTIME) |
| 164 #endif // RUNTIME_VM_KERNEL_READER_H_ | 163 #endif // RUNTIME_VM_KERNEL_READER_H_ |
| OLD | NEW |