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

Side by Side Diff: pkg/dart2js_incremental/lib/library_updater.dart

Issue 789253005: Update incremental compiler. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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 10 import 'dart:convert' show
(...skipping 1208 matching lines...) Expand 10 before | Expand all | Expand 10 after
1219 class EmitterHelper extends JsFeatures { 1219 class EmitterHelper extends JsFeatures {
1220 final Compiler compiler; 1220 final Compiler compiler;
1221 1221
1222 EmitterHelper(this.compiler); 1222 EmitterHelper(this.compiler);
1223 1223
1224 ClassEmitter get classEmitter => backend.emitter.oldEmitter.classEmitter; 1224 ClassEmitter get classEmitter => backend.emitter.oldEmitter.classEmitter;
1225 1225
1226 List<String> computeFields(ClassElement cls) { 1226 List<String> computeFields(ClassElement cls) {
1227 // TODO(ahe): Rewrite for new emitter. 1227 // TODO(ahe): Rewrite for new emitter.
1228 ClassBuilder builder = new ClassBuilder(cls, namer); 1228 ClassBuilder builder = new ClassBuilder(cls, namer);
1229 classEmitter.emitFields(cls, builder, ""); 1229 classEmitter.emitFields(cls, builder);
1230 return builder.fields; 1230 return builder.fields;
1231 } 1231 }
1232 } 1232 }
1233 1233
1234 // TODO(ahe): Remove this method. 1234 // TODO(ahe): Remove this method.
1235 NO_WARN(x) => x; 1235 NO_WARN(x) => x;
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698