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

Side by Side Diff: pkg/compiler/lib/src/common/codegen.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
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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.common.codegen; 5 library dart2js.common.codegen;
6 6
7 import '../common.dart'; 7 import '../common.dart';
8 import '../common/backend_api.dart' show Backend; 8 import '../common/backend_api.dart' show Backend;
9 import '../constants/values.dart' show ConstantValue; 9 import '../constants/values.dart' show ConstantValue;
10 import '../dart_types.dart' show DartType, InterfaceType; 10 import '../elements/resolution_types.dart' show DartType, InterfaceType;
11 import '../elements/elements.dart' 11 import '../elements/elements.dart'
12 show 12 show
13 AstElement, 13 AstElement,
14 ClassElement, 14 ClassElement,
15 Element, 15 Element,
16 FunctionElement, 16 FunctionElement,
17 LocalFunctionElement, 17 LocalFunctionElement,
18 ResolvedAst; 18 ResolvedAst;
19 import '../enqueue.dart' show Enqueuer; 19 import '../enqueue.dart' show Enqueuer;
20 import '../universe/use.dart' show DynamicUse, StaticUse, TypeUse; 20 import '../universe/use.dart' show DynamicUse, StaticUse, TypeUse;
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 : this.resolvedAst = resolvedAst, 238 : this.resolvedAst = resolvedAst,
239 super(resolvedAst.element); 239 super(resolvedAst.element);
240 240
241 WorldImpact run() { 241 WorldImpact run() {
242 registry = new CodegenRegistry(element); 242 registry = new CodegenRegistry(element);
243 return backend.codegen(this); 243 return backend.codegen(this);
244 } 244 }
245 245
246 String toString() => 'CodegenWorkItem(${resolvedAst.element})'; 246 String toString() => 'CodegenWorkItem(${resolvedAst.element})';
247 } 247 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/common/backend_api.dart ('k') | pkg/compiler/lib/src/common/resolution.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698