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

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

Issue 10828411: Re-apply 'Unify dart:isolate.' with fixes for autogenerated dart2js and dartium html files. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased and fixed an error. Created 8 years, 4 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
Index: lib/compiler/implementation/compiler.dart
diff --git a/lib/compiler/implementation/compiler.dart b/lib/compiler/implementation/compiler.dart
index 304dab8a47470cb23137f2603cb384a66a64e0a2..2a9ea4687a167511ca197463d1223ea53e700c68 100644
--- a/lib/compiler/implementation/compiler.dart
+++ b/lib/compiler/implementation/compiler.dart
@@ -379,9 +379,7 @@ class Compiler implements DiagnosticListener {
if (library.isPatched) return;
Uri patchUri = resolvePatchUri(dartLibraryPath);
if (patchUri !== null) {
- patchParser.patchLibrary(patchUri, library);
- // We allow foreign functions in patched libraries.
- addForeignFunctions(library); // Is safe even if already added.
+ patchParser.patchLibrary(patchUri, library);
}
}

Powered by Google App Engine
This is Rietveld 408576698