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

Side by Side Diff: pkg/compiler/lib/src/ssa/graph_builder.dart

Issue 2606253002: Move dart_types to elements/resolution_types (Closed)
Patch Set: Created 3 years, 11 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/ssa/codegen.dart ('k') | pkg/compiler/lib/src/ssa/kernel_ast_adapter.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) 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 import '../closure.dart'; 5 import '../closure.dart';
6 import '../common.dart'; 6 import '../common.dart';
7 import '../common/codegen.dart' show CodegenRegistry; 7 import '../common/codegen.dart' show CodegenRegistry;
8 import '../compiler.dart'; 8 import '../compiler.dart';
9 import '../constants/constant_system.dart'; 9 import '../constants/constant_system.dart';
10 import '../dart_types.dart'; 10 import '../elements/resolution_types.dart';
11 import '../elements/elements.dart'; 11 import '../elements/elements.dart';
12 import '../io/source_information.dart'; 12 import '../io/source_information.dart';
13 import '../js_backend/js_backend.dart'; 13 import '../js_backend/js_backend.dart';
14 import '../resolution/tree_elements.dart'; 14 import '../resolution/tree_elements.dart';
15 import '../tree/tree.dart' as ast; 15 import '../tree/tree.dart' as ast;
16 import '../types/types.dart'; 16 import '../types/types.dart';
17 import '../universe/call_structure.dart' show CallStructure; 17 import '../universe/call_structure.dart' show CallStructure;
18 import '../universe/use.dart' show TypeUse; 18 import '../universe/use.dart' show TypeUse;
19 import '../world.dart' show ClosedWorld; 19 import '../world.dart' show ClosedWorld;
20 import 'jump_handler.dart'; 20 import 'jump_handler.dart';
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 if (unaliased is TypedefType) throw 'unable to unalias $type'; 329 if (unaliased is TypedefType) throw 'unable to unalias $type';
330 unaliased.accept(this, builder); 330 unaliased.accept(this, builder);
331 } 331 }
332 332
333 void visitDynamicType(DynamicType type, GraphBuilder builder) { 333 void visitDynamicType(DynamicType type, GraphBuilder builder) {
334 JavaScriptBackend backend = builder.compiler.backend; 334 JavaScriptBackend backend = builder.compiler.backend;
335 ClassElement cls = backend.helpers.DynamicRuntimeType; 335 ClassElement cls = backend.helpers.DynamicRuntimeType;
336 builder.push(new HDynamicType(type, new TypeMask.exact(cls, closedWorld))); 336 builder.push(new HDynamicType(type, new TypeMask.exact(cls, closedWorld)));
337 } 337 }
338 } 338 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/ssa/codegen.dart ('k') | pkg/compiler/lib/src/ssa/kernel_ast_adapter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698