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

Side by Side Diff: pkg/compiler/lib/src/world.dart

Issue 1284593003: Remove dart2jslib.dart (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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/util/util.dart ('k') | pkg/dart2js_incremental/lib/library_updater.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) 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.world; 5 library dart2js.world;
6 6
7 import 'closure.dart' show 7 import 'closure.dart' show
8 SynthesizedCallMethodElementX; 8 SynthesizedCallMethodElementX;
9 import 'dart2jslib.dart' show 9 import 'common/backend_api.dart' show
10 Backend;
11 import 'common/registry.dart' show
12 Registry;
13 import 'compiler.dart' show
10 invariant, 14 invariant,
11 Backend, 15 Backend,
12 Compiler, 16 Compiler,
13 Registry; 17 Registry;
14 import 'dart_types.dart'; 18 import 'dart_types.dart';
19 import 'diagnostics/invariant.dart' show
20 invariant;
15 import 'elements/elements.dart' show 21 import 'elements/elements.dart' show
16 ClassElement, 22 ClassElement,
17 Element, 23 Element,
18 FunctionElement, 24 FunctionElement,
19 MixinApplicationElement, 25 MixinApplicationElement,
20 TypedefElement, 26 TypedefElement,
21 VariableElement; 27 VariableElement;
22 import 'ordered_typeset.dart'; 28 import 'ordered_typeset.dart';
23 import 'types/types.dart' as ti; 29 import 'types/types.dart' as ti;
24 import 'universe/universe.dart' show 30 import 'universe/universe.dart' show
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after
577 // function expressions's element. 583 // function expressions's element.
578 // TODO(herhut): Generate classes for function expressions earlier. 584 // TODO(herhut): Generate classes for function expressions earlier.
579 if (element is SynthesizedCallMethodElementX) { 585 if (element is SynthesizedCallMethodElementX) {
580 return getMightBePassedToApply(element.expression); 586 return getMightBePassedToApply(element.expression);
581 } 587 }
582 return functionsThatMightBePassedToApply.contains(element); 588 return functionsThatMightBePassedToApply.contains(element);
583 } 589 }
584 590
585 bool get hasClosedWorldAssumption => !compiler.hasIncrementalSupport; 591 bool get hasClosedWorldAssumption => !compiler.hasIncrementalSupport;
586 } 592 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/util/util.dart ('k') | pkg/dart2js_incremental/lib/library_updater.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698