Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Side by Side Diff: runtime/vm/kernel_reader.h

Issue 2967593002: [kernel] Cache patch-classes. (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | runtime/vm/kernel_reader.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
129 129
130 dart::RawFunction::Kind GetFunctionType( 130 dart::RawFunction::Kind GetFunctionType(
131 Procedure::ProcedureKind procedure_kind); 131 Procedure::ProcedureKind procedure_kind);
132 132
133 Program* program_; 133 Program* program_;
134 134
135 dart::Thread* thread_; 135 dart::Thread* thread_;
136 dart::Zone* zone_; 136 dart::Zone* zone_;
137 dart::Isolate* isolate_; 137 dart::Isolate* isolate_;
138 Array& scripts_; 138 Array& scripts_;
139 Array& patch_classes_;
139 ActiveClass active_class_; 140 ActiveClass active_class_;
140 BuildingTranslationHelper translation_helper_; 141 BuildingTranslationHelper translation_helper_;
141 StreamingFlowGraphBuilder builder_; 142 StreamingFlowGraphBuilder builder_;
142 143
143 Mapping<dart::Library> libraries_; 144 Mapping<dart::Library> libraries_;
144 Mapping<dart::Class> classes_; 145 Mapping<dart::Class> classes_;
145 146
146 GrowableArray<const dart::Function*> functions_; 147 GrowableArray<const dart::Function*> functions_;
147 GrowableArray<const dart::Field*> fields_; 148 GrowableArray<const dart::Field*> fields_;
148 }; 149 };
149 150
150 } // namespace kernel 151 } // namespace kernel
151 } // namespace dart 152 } // namespace dart
152 153
153 #endif // !defined(DART_PRECOMPILED_RUNTIME) 154 #endif // !defined(DART_PRECOMPILED_RUNTIME)
154 #endif // RUNTIME_VM_KERNEL_READER_H_ 155 #endif // RUNTIME_VM_KERNEL_READER_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/kernel_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698