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

Side by Side Diff: pkg/compiler/lib/src/kernel/world_builder.dart

Issue 2795763005: Revert "Add "load from .dill" file capability and run a white-box test." (Closed)
Patch Set: Created 3 years, 8 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) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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 library dart2js.kernel.world_builder; 5 library dart2js.kernel.world_builder;
6 6
7 import 'package:kernel/ast.dart' as ir; 7 import 'package:kernel/ast.dart' as ir;
8 8
9 import '../common.dart'; 9 import '../common.dart';
10 import '../common/backend_api.dart'; 10 import '../common/backend_api.dart';
11 import '../common/names.dart';
11 import '../compile_time_constants.dart'; 12 import '../compile_time_constants.dart';
12 import '../constants/constant_system.dart'; 13 import '../constants/constant_system.dart';
13 import '../constants/constructors.dart'; 14 import '../constants/constructors.dart';
14 import '../constants/evaluation.dart'; 15 import '../constants/evaluation.dart';
15 import '../constants/expressions.dart'; 16 import '../constants/expressions.dart';
16 import '../constants/values.dart'; 17 import '../constants/values.dart';
17 import '../common_elements.dart'; 18 import '../common_elements.dart';
18 import '../elements/elements.dart'; 19 import '../elements/elements.dart';
19 import '../elements/entities.dart'; 20 import '../elements/entities.dart';
20 import '../elements/types.dart'; 21 import '../elements/types.dart';
(...skipping 823 matching lines...) Expand 10 before | Expand all | Expand 10 after
844 } 845 }
845 846
846 InterfaceType getMixinTypeForClass(KClass cls) { 847 InterfaceType getMixinTypeForClass(KClass cls) {
847 KClassEnv env = builder._classEnvs[cls.classIndex]; 848 KClassEnv env = builder._classEnvs[cls.classIndex];
848 ir.Supertype mixedInType = env.cls.mixedInType; 849 ir.Supertype mixedInType = env.cls.mixedInType;
849 if (mixedInType == null) return null; 850 if (mixedInType == null) return null;
850 return builder.createInterfaceType( 851 return builder.createInterfaceType(
851 mixedInType.classNode, mixedInType.typeArguments); 852 mixedInType.classNode, mixedInType.typeArguments);
852 } 853 }
853 } 854 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_backend/mirrors_analysis.dart ('k') | pkg/compiler/lib/src/library_loader.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698