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

Unified Diff: pkg/compiler/lib/src/compiler.dart

Issue 2795763005: Revert "Add "load from .dill" file capability and run a white-box test." (Closed)
Patch Set: Created 3 years, 8 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 | « pkg/compiler/lib/src/commandline_options.dart ('k') | pkg/compiler/lib/src/dart2js.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/compiler.dart
diff --git a/pkg/compiler/lib/src/compiler.dart b/pkg/compiler/lib/src/compiler.dart
index b3236f9c11ca337fff0ca9011c30f9b89b760528..94666231d090e22269a6dd7eb8e7849f6b55808c 100644
--- a/pkg/compiler/lib/src/compiler.dart
+++ b/pkg/compiler/lib/src/compiler.dart
@@ -212,7 +212,6 @@ abstract class Compiler {
serialization = new SerializationTask(this),
patchParser = new PatchParserTask(this),
libraryLoader = new LibraryLoaderTask(
- options.loadFromDill,
resolvedUriTranslator,
options.compileOnly
? new _NoScriptLoader(this)
@@ -349,8 +348,8 @@ abstract class Compiler {
}
}
String importChain = compactImportChain.map((CodeLocation codeLocation) {
- return codeLocation.relativize(
- (loadedLibraries.rootLibrary as LibraryElement).canonicalUri);
+ return codeLocation
+ .relativize(loadedLibraries.rootLibrary.canonicalUri);
}).join(' => ');
if (!importChains.contains(importChain)) {
@@ -382,7 +381,7 @@ abstract class Compiler {
/// The method returns a [Future] allowing for the loading of additional
/// libraries.
LoadedLibraries processLoadedLibraries(LoadedLibraries loadedLibraries) {
- loadedLibraries.forEachLibrary((LibraryEntity library) {
+ loadedLibraries.forEachLibrary((LibraryElement library) {
backend.setAnnotations(library);
});
« no previous file with comments | « pkg/compiler/lib/src/commandline_options.dart ('k') | pkg/compiler/lib/src/dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698