Index: dart/frog/leg/compiler.dart |
diff --git a/dart/frog/leg/compiler.dart b/dart/frog/leg/compiler.dart |
index 0f945a1d467004a7f95c5d74a9c60261900545ee..bb3d3385fb393456f070e5667bcb89e455ea606a 100644 |
--- a/dart/frog/leg/compiler.dart |
+++ b/dart/frog/leg/compiler.dart |
@@ -42,7 +42,6 @@ class Compiler implements DiagnosticListener { |
String assembledCode; |
Namer namer; |
Types types; |
- final String currentDirectory; |
final Tracer tracer; |
@@ -102,8 +101,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>(), |
@@ -235,9 +233,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 |