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

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

Issue 2797443008: Reapply "Add "load from .dill" file capability and run a white-box test."" (Closed)
Patch Set: take two 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
« no previous file with comments | « pkg/compiler/lib/src/kernel/kernel.dart ('k') | pkg/compiler/lib/src/library_loader.dart » ('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) 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';
12 import '../compile_time_constants.dart'; 11 import '../compile_time_constants.dart';
13 import '../constants/constant_system.dart'; 12 import '../constants/constant_system.dart';
14 import '../constants/constructors.dart'; 13 import '../constants/constructors.dart';
15 import '../constants/evaluation.dart'; 14 import '../constants/evaluation.dart';
16 import '../constants/expressions.dart'; 15 import '../constants/expressions.dart';
17 import '../constants/values.dart'; 16 import '../constants/values.dart';
18 import '../common_elements.dart'; 17 import '../common_elements.dart';
19 import '../elements/elements.dart'; 18 import '../elements/elements.dart';
20 import '../elements/entities.dart'; 19 import '../elements/entities.dart';
21 import '../elements/types.dart'; 20 import '../elements/types.dart';
(...skipping 823 matching lines...) Expand 10 before | Expand all | Expand 10 after
845 } 844 }
846 845
847 InterfaceType getMixinTypeForClass(KClass cls) { 846 InterfaceType getMixinTypeForClass(KClass cls) {
848 KClassEnv env = builder._classEnvs[cls.classIndex]; 847 KClassEnv env = builder._classEnvs[cls.classIndex];
849 ir.Supertype mixedInType = env.cls.mixedInType; 848 ir.Supertype mixedInType = env.cls.mixedInType;
850 if (mixedInType == null) return null; 849 if (mixedInType == null) return null;
851 return builder.createInterfaceType( 850 return builder.createInterfaceType(
852 mixedInType.classNode, mixedInType.typeArguments); 851 mixedInType.classNode, mixedInType.typeArguments);
853 } 852 }
854 } 853 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/kernel/kernel.dart ('k') | pkg/compiler/lib/src/library_loader.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698