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

Unified Diff: pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart

Issue 853923002: dart2js: Remove unused function. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart
diff --git a/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart b/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart
index 7777a038ca446b146fb29c00197090181c71a4e4..c204d7d0d46b78a6428ec8f07a622d38fbef3498 100644
--- a/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart
+++ b/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart
@@ -1261,22 +1261,6 @@ class OldEmitter implements Emitter {
cspPrecompiledConstructorNamesFor(outputUnit).add(js('#', constructorName));
}
- void emitLibraries(Iterable<LibraryElement> libraries) {
- if (libraries.isEmpty) return;
-
- // TODO(karlklose): document what kinds of fields this loop adds to the
- // library class builder.
- for (LibraryElement element in libraries) {
- LibraryElement library = element;
- ClassBuilder builder = new ClassBuilder(library, namer);
- if (classEmitter.emitFields(library, builder, emitStatics: true)) {
- jsAst.ObjectInitializer initializer = builder.toObjectInitializer();
- compiler.dumpInfoTask.registerElementAst(builder.element, initializer);
- getElementDescriptor(library).properties.addAll(initializer.properties);
- }
- }
- }
-
void emitTypedefs() {
OutputUnit mainOutputUnit = compiler.deferredLoadTask.mainOutputUnit;
« 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