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

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

Issue 2897903003: Support loading binary data in dart2js (Closed)
Patch Set: Updated cf. comments Created 3 years, 7 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/platform_configuration.dart ('k') | pkg/compiler/lib/src/source_file_provider.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/serialization/equivalence.dart
diff --git a/pkg/compiler/lib/src/serialization/equivalence.dart b/pkg/compiler/lib/src/serialization/equivalence.dart
index 57c5eca1e8055b2544e1c3e7d18693c93a8ac70f..be32845afbdef27c47a7597ccc7ceecae557cba0 100644
--- a/pkg/compiler/lib/src/serialization/equivalence.dart
+++ b/pkg/compiler/lib/src/serialization/equivalence.dart
@@ -470,9 +470,7 @@ class ElementIdentityEquivalence extends BaseElementVisitor<bool, Element> {
@override
bool visitCompilationUnitElement(
CompilationUnitElement element1, CompilationUnitElement element2) {
- return strategy.test(
- element1, element2, 'name', element1.name, element2.name) &&
- strategy.test(element1, element2, 'script.resourceUri',
+ return strategy.test(element1, element2, 'script.resourceUri',
element1.script.resourceUri, element2.script.resourceUri) &&
visit(element1.library, element2.library);
}
« no previous file with comments | « pkg/compiler/lib/src/platform_configuration.dart ('k') | pkg/compiler/lib/src/source_file_provider.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698