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

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

Issue 9866006: Add library mapping. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased Created 8 years, 9 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 | « dart/lib/compiler/implementation/apiimpl.dart ('k') | dart/lib/compiler/implementation/dart2js.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « dart/lib/compiler/implementation/apiimpl.dart ('k') | dart/lib/compiler/implementation/dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698