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

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

Issue 2973633002: [kernel] Change how TypeParameterType is calculated. (Closed)
Patch Set: longjmp instead of UNREACHABLE (+ rebase) Created 3 years, 4 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 | « runtime/vm/kernel_binary_flowgraph.cc ('k') | 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 103
104 void ReadPreliminaryClass(dart::Class* klass, 104 void ReadPreliminaryClass(dart::Class* klass,
105 ClassHelper* class_helper, 105 ClassHelper* class_helper,
106 intptr_t type_parameter_count); 106 intptr_t type_parameter_count);
107 dart::Class& ReadClass(const dart::Library& library, 107 dart::Class& ReadClass(const dart::Library& library,
108 const dart::Class& toplevel_class); 108 const dart::Class& toplevel_class);
109 void ReadProcedure(const dart::Library& library, 109 void ReadProcedure(const dart::Library& library,
110 const dart::Class& owner, 110 const dart::Class& owner,
111 bool in_class); 111 bool in_class);
112 112
113 void ReadAndSetupTypeParameters(const Object& set_on,
114 intptr_t type_parameter_count,
115 const Class& parameterized_class,
116 const Function& parameterized_function);
117
113 RawArray* MakeFunctionsArray(); 118 RawArray* MakeFunctionsArray();
114 119
115 // If klass's script is not the script at the uri index, return a PatchClass 120 // If klass's script is not the script at the uri index, return a PatchClass
116 // for klass whose script corresponds to the uri index. 121 // for klass whose script corresponds to the uri index.
117 // Otherwise return klass. 122 // Otherwise return klass.
118 const Object& ClassForScriptAt(const dart::Class& klass, 123 const Object& ClassForScriptAt(const dart::Class& klass,
119 intptr_t source_uri_index); 124 intptr_t source_uri_index);
120 Script& ScriptAt(intptr_t source_uri_index, 125 Script& ScriptAt(intptr_t source_uri_index,
121 StringIndex import_uri = StringIndex()); 126 StringIndex import_uri = StringIndex());
122 127
(...skipping 27 matching lines...) Expand all
150 155
151 GrowableArray<const dart::Function*> functions_; 156 GrowableArray<const dart::Function*> functions_;
152 GrowableArray<const dart::Field*> fields_; 157 GrowableArray<const dart::Field*> fields_;
153 }; 158 };
154 159
155 } // namespace kernel 160 } // namespace kernel
156 } // namespace dart 161 } // namespace dart
157 162
158 #endif // !defined(DART_PRECOMPILED_RUNTIME) 163 #endif // !defined(DART_PRECOMPILED_RUNTIME)
159 #endif // RUNTIME_VM_KERNEL_READER_H_ 164 #endif // RUNTIME_VM_KERNEL_READER_H_
OLDNEW
« no previous file with comments | « runtime/vm/kernel_binary_flowgraph.cc ('k') | runtime/vm/kernel_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698