Index: dart/lib/compiler/implementation/compiler.dart |
diff --git a/dart/lib/compiler/implementation/compiler.dart b/dart/lib/compiler/implementation/compiler.dart |
index cf51d9c135fb7be19bdad3a04e403b2701bb4e8c..0e68c7d10193a893b23b85f71cab83b2cfa2d320 100644 |
--- a/dart/lib/compiler/implementation/compiler.dart |
+++ b/dart/lib/compiler/implementation/compiler.dart |
@@ -36,7 +36,6 @@ class Compiler implements DiagnosticListener { |
String assembledCode; |
Namer namer; |
Types types; |
- final String currentDirectory; |
final Tracer tracer; |
@@ -96,8 +95,7 @@ class Compiler implements DiagnosticListener { |
Stopwatch codegenProgress; |
- Compiler.withCurrentDirectory(String this.currentDirectory, |
- [this.tracer = const Tracer()]) |
+ Compiler([this.tracer = const Tracer()]) |
: types = new Types(), |
universe = new Universe(), |
worklist = new Queue<WorkItem>(), |
@@ -229,9 +227,9 @@ class Compiler implements DiagnosticListener { |
} |
void scanBuiltinLibraries() { |
- coreImplLibrary = scanBuiltinLibrary('coreimpl.dart'); |
- jsHelperLibrary = scanBuiltinLibrary('js_helper.dart'); |
- coreLibrary = scanBuiltinLibrary('core.dart'); |
+ coreImplLibrary = scanBuiltinLibrary('coreimpl'); |
+ jsHelperLibrary = scanBuiltinLibrary('_js_helper'); |
+ coreLibrary = scanBuiltinLibrary('core'); |
// Since coreLibrary import the libraries "coreimpl", and |
// "js_helper", coreLibrary is null when they are being built. So |