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

Side by Side Diff: pkg/dart2js_incremental/lib/library_updater.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/world.dart ('k') | site/try/poi/poi.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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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_incremental.library_updater; 5 library dart2js_incremental.library_updater;
6 6
7 import 'dart:async' show 7 import 'dart:async' show
8 Future; 8 Future;
9 9
10 import 'dart:convert' show
11 UTF8;
12
13 import 'package:compiler/compiler.dart' as api; 10 import 'package:compiler/compiler.dart' as api;
14 11
15 import 'package:compiler/src/dart2jslib.dart' show 12 import 'package:compiler/src/compiler.dart' show
16 Compiler; 13 Compiler;
17 14
18 import 'package:compiler/src/elements/elements.dart' show 15 import 'package:compiler/src/elements/elements.dart' show
19 ClassElement, 16 ClassElement,
20 CompilationUnitElement, 17 CompilationUnitElement,
21 Element, 18 Element,
22 FunctionElement, 19 FunctionElement,
23 LibraryElement, 20 LibraryElement,
24 STATE_NOT_STARTED, 21 STATE_NOT_STARTED,
25 ScopeContainerElement; 22 ScopeContainerElement;
(...skipping 1481 matching lines...) Expand 10 before | Expand all | Expand 10 after
1507 .buildFieldsHackForIncrementalCompilation(classElement); 1504 .buildFieldsHackForIncrementalCompilation(classElement);
1508 // TODO(ahe): Rewrite for new emitter. 1505 // TODO(ahe): Rewrite for new emitter.
1509 ClassBuilder builder = new ClassBuilder(classElement, namer); 1506 ClassBuilder builder = new ClassBuilder(classElement, namer);
1510 classEmitter.emitFields(cls, builder); 1507 classEmitter.emitFields(cls, builder);
1511 return builder.fields; 1508 return builder.fields;
1512 } 1509 }
1513 } 1510 }
1514 1511
1515 // TODO(ahe): Remove this method. 1512 // TODO(ahe): Remove this method.
1516 NO_WARN(x) => x; 1513 NO_WARN(x) => x;
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/world.dart ('k') | site/try/poi/poi.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698