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

Side by Side Diff: pkg/compiler/lib/src/js_backend/enqueuer.dart

Issue 2667473003: Move Entity and Local to entities.dart (Closed)
Patch Set: Created 3 years, 10 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 '../elements/resolution_types.dart' 16 import '../elements/resolution_types.dart'
17 show ResolutionDartType, ResolutionInterfaceType; 17 show ResolutionDartType, ResolutionInterfaceType;
18 import '../elements/elements.dart' show Entity, MemberElement, TypedElement; 18 import '../elements/elements.dart' show MemberElement, TypedElement;
19 import '../elements/entities.dart'; 19 import '../elements/entities.dart';
20 import '../enqueue.dart'; 20 import '../enqueue.dart';
21 import '../native/native.dart' as native; 21 import '../native/native.dart' as native;
22 import '../options.dart'; 22 import '../options.dart';
23 import '../types/types.dart' show TypeMaskStrategy; 23 import '../types/types.dart' show TypeMaskStrategy;
24 import '../universe/world_builder.dart'; 24 import '../universe/world_builder.dart';
25 import '../universe/use.dart' 25 import '../universe/use.dart'
26 show DynamicUse, StaticUse, StaticUseKind, TypeUse, TypeUseKind; 26 show DynamicUse, StaticUse, StaticUseKind, TypeUse, TypeUseKind;
27 import '../universe/world_impact.dart' 27 import '../universe/world_impact.dart'
28 show ImpactUseCase, WorldImpact, WorldImpactVisitor; 28 show ImpactUseCase, WorldImpact, WorldImpactVisitor;
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 // code for checked setters. 295 // code for checked setters.
296 if (element.isField && element.isInstanceMember) { 296 if (element.isField && element.isInstanceMember) {
297 if (!_options.enableTypeAssertions || 297 if (!_options.enableTypeAssertions ||
298 element.enclosingElement.isClosure) { 298 element.enclosingElement.isClosure) {
299 return null; 299 return null;
300 } 300 }
301 } 301 }
302 return new CodegenWorkItem(_backend, element); 302 return new CodegenWorkItem(_backend, element);
303 } 303 }
304 } 304 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/js_backend/backend.dart ('k') | pkg/compiler/lib/src/js_backend/native_data.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698