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

Side by Side Diff: runtime/vm/kernel.cc

Issue 2863493002: Support BottomType in the VM Kernel reader (Closed)
Patch Set: Created 3 years, 7 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
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 #include "vm/kernel.h" 5 #include "vm/kernel.h"
6 6
7 #if !defined(DART_PRECOMPILED_RUNTIME) 7 #if !defined(DART_PRECOMPILED_RUNTIME)
8 namespace dart { 8 namespace dart {
9 9
10 namespace kernel { 10 namespace kernel {
(...skipping 1150 matching lines...) Expand 10 before | Expand all | Expand 10 after
1161 1161
1162 1162
1163 void VoidType::AcceptDartTypeVisitor(DartTypeVisitor* visitor) { 1163 void VoidType::AcceptDartTypeVisitor(DartTypeVisitor* visitor) {
1164 visitor->VisitVoidType(this); 1164 visitor->VisitVoidType(this);
1165 } 1165 }
1166 1166
1167 1167
1168 void VoidType::VisitChildren(Visitor* visitor) {} 1168 void VoidType::VisitChildren(Visitor* visitor) {}
1169 1169
1170 1170
1171 BottomType::~BottomType() {}
1172
1173
1174 void BottomType::AcceptDartTypeVisitor(DartTypeVisitor* visitor) {
1175 visitor->VisitBottomType(this);
1176 }
1177
1178
1179 void BottomType::VisitChildren(Visitor* visitor) {}
1180
1181
1171 InterfaceType::~InterfaceType() {} 1182 InterfaceType::~InterfaceType() {}
1172 1183
1173 1184
1174 void InterfaceType::AcceptDartTypeVisitor(DartTypeVisitor* visitor) { 1185 void InterfaceType::AcceptDartTypeVisitor(DartTypeVisitor* visitor) {
1175 visitor->VisitInterfaceType(this); 1186 visitor->VisitInterfaceType(this);
1176 } 1187 }
1177 1188
1178 1189
1179 void InterfaceType::VisitChildren(Visitor* visitor) { 1190 void InterfaceType::VisitChildren(Visitor* visitor) {
1180 VisitList(&type_arguments(), visitor); 1191 VisitList(&type_arguments(), visitor);
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
1264 1275
1265 void Program::VisitChildren(Visitor* visitor) { 1276 void Program::VisitChildren(Visitor* visitor) {
1266 VisitList(&libraries(), visitor); 1277 VisitList(&libraries(), visitor);
1267 } 1278 }
1268 1279
1269 1280
1270 } // namespace kernel 1281 } // namespace kernel
1271 1282
1272 } // namespace dart 1283 } // namespace dart
1273 #endif // !defined(DART_PRECOMPILED_RUNTIME) 1284 #endif // !defined(DART_PRECOMPILED_RUNTIME)
OLDNEW
« no previous file with comments | « runtime/vm/kernel.h ('k') | runtime/vm/kernel_binary.h » ('j') | runtime/vm/kernel_to_il.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698