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

Unified Diff: lib/compiler/implementation/js_backend/backend.dart

Issue 11307009: Revert "Minifying renamer for classes, methods and instance variables." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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 | « lib/compiler/implementation/js/printer.dart ('k') | lib/compiler/implementation/js_backend/emitter.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/js_backend/backend.dart
diff --git a/lib/compiler/implementation/js_backend/backend.dart b/lib/compiler/implementation/js_backend/backend.dart
index b8023de8ef754db36cd5e5ceaf26a9ae76ffea15..9f79fcc96ecaba6ca020090308cef0e24c32fab0 100644
--- a/lib/compiler/implementation/js_backend/backend.dart
+++ b/lib/compiler/implementation/js_backend/backend.dart
@@ -669,8 +669,10 @@ class JavaScriptBackend extends Backend {
return <CompilerTask>[builder, optimizer, generator, emitter];
}
- JavaScriptBackend(Compiler compiler, bool generateSourceMap, bool disableEval)
- : namer = determineNamer(compiler),
+ JavaScriptBackend(Compiler compiler,
+ bool generateSourceMap,
+ bool disableEval)
+ : namer = new Namer(compiler),
returnInfo = new Map<Element, ReturnInfo>(),
invalidateAfterCodegen = new List<Element>(),
interceptors = new Interceptors(compiler),
@@ -685,12 +687,6 @@ class JavaScriptBackend extends Backend {
fieldTypes = new FieldTypesRegistry(this);
}
- static Namer determineNamer(Compiler compiler) {
- // TODO(erikcorry): Use the MinifyNamer depending on
- // compiler.enableMinification.
- return new Namer(compiler);
- }
-
Element get cyclicThrowHelper {
return compiler.findHelper(const SourceString("throwCyclicInit"));
}
« no previous file with comments | « lib/compiler/implementation/js/printer.dart ('k') | lib/compiler/implementation/js_backend/emitter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698