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

Side by Side Diff: pkg/compiler/lib/src/js_backend/enqueuer.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.js.enqueue; 5 library dart2js.js.enqueue;
6 6
7 import 'dart:collection' show Queue; 7 import 'dart:collection' show Queue;
8 8
9 import '../cache_strategy.dart' show CacheStrategy; 9 import '../cache_strategy.dart' show CacheStrategy;
10 import '../common/backend_api.dart' show Backend; 10 import '../common/backend_api.dart' show Backend;
11 import '../common/codegen.dart' show CodegenWorkItem; 11 import '../common/codegen.dart' show CodegenWorkItem;
12 import '../common/tasks.dart' show CompilerTask; 12 import '../common/tasks.dart' show CompilerTask;
13 import '../common/work.dart' show WorkItem; 13 import '../common/work.dart' show WorkItem;
14 import '../common.dart'; 14 import '../common.dart';
15 import '../compiler.dart' show Compiler; 15 import '../compiler.dart' show Compiler;
16 import '../dart_types.dart' show DartType, InterfaceType; 16 import '../elements/resolution_types.dart' show DartType, InterfaceType;
17 import '../elements/elements.dart' show Entity, MemberElement, TypedElement; 17 import '../elements/elements.dart' show Entity, MemberElement, TypedElement;
18 import '../elements/entities.dart'; 18 import '../elements/entities.dart';
19 import '../enqueue.dart'; 19 import '../enqueue.dart';
20 import '../native/native.dart' as native; 20 import '../native/native.dart' as native;
21 import '../options.dart'; 21 import '../options.dart';
22 import '../types/types.dart' show TypeMaskStrategy; 22 import '../types/types.dart' show TypeMaskStrategy;
23 import '../universe/world_builder.dart'; 23 import '../universe/world_builder.dart';
24 import '../universe/use.dart' 24 import '../universe/use.dart'
25 show DynamicUse, StaticUse, StaticUseKind, TypeUse, TypeUseKind; 25 show DynamicUse, StaticUse, StaticUseKind, TypeUse, TypeUseKind;
26 import '../universe/world_impact.dart' 26 import '../universe/world_impact.dart'
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 // code for checked setters. 294 // code for checked setters.
295 if (element.isField && element.isInstanceMember) { 295 if (element.isField && element.isInstanceMember) {
296 if (!_options.enableTypeAssertions || 296 if (!_options.enableTypeAssertions ||
297 element.enclosingElement.isClosure) { 297 element.enclosingElement.isClosure) {
298 return null; 298 return null;
299 } 299 }
300 } 300 }
301 return new CodegenWorkItem(_backend, element); 301 return new CodegenWorkItem(_backend, element);
302 } 302 }
303 } 303 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698