Chromium Code Reviews| Index: lib/compiler/implementation/compiler.dart |
| diff --git a/lib/compiler/implementation/compiler.dart b/lib/compiler/implementation/compiler.dart |
| index 690e7dbb87364e393da043e41b22430f405c9027..745eea04b6f5344514e40813f32a998ebd1dda84 100644 |
| --- a/lib/compiler/implementation/compiler.dart |
| +++ b/lib/compiler/implementation/compiler.dart |
| @@ -84,7 +84,6 @@ class Compiler implements DiagnosticListener { |
| int nextFreeClassId = 0; |
| World world; |
| String assembledCode; |
| - Namer namer; |
| Types types; |
| final bool enableMinification; |
| @@ -192,7 +191,6 @@ class Compiler implements DiagnosticListener { |
| world = new World(), |
| progress = new Stopwatch() { |
| progress.start(); |
| - namer = new Namer(this); |
| scanner = new ScannerTask(this); |
| dietParser = new DietParserTask(this); |
| parser = new ParserTask(this); |
| @@ -212,6 +210,10 @@ class Compiler implements DiagnosticListener { |
| tasks.addAll(backend.tasks); |
| } |
| + // TODO(floitsch): remove once the compile-time constant handler doesn't |
| + // depend on it anymore. |
| + js_backend.Namer get namer => (backend as js_backend.JavaScriptBackend).namer; |
|
kasperl
2012/09/06 07:47:53
This seems hacky. Looking forward to getting rid o
|
| + |
| Universe get resolverWorld => enqueuer.resolution.universe; |
| Universe get codegenWorld => enqueuer.codegen.universe; |