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

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

Issue 1892093003: Support deserialized compilation of the empty program. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments Created 4 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
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 dca00d9c59627f5aa4e247acd208060d3173d9a6..e40d5a6346b32d9d404a025f08d5d77429fd881c 100644
--- a/pkg/compiler/lib/src/serialization/equivalence.dart
+++ b/pkg/compiler/lib/src/serialization/equivalence.dart
@@ -757,6 +757,8 @@ bool testResolvedAstEquivalence(
resolvedAst1.element, resolvedAst2.element) &&
new NodeEquivalenceVisitor(strategy).testNodes(resolvedAst1, resolvedAst2,
'node', resolvedAst1.node, resolvedAst2.node) &&
+ new NodeEquivalenceVisitor(strategy).testNodes(resolvedAst1, resolvedAst2,
+ 'body', resolvedAst1.body, resolvedAst2.body) &&
testTreeElementsEquivalence(resolvedAst1, resolvedAst2, strategy);
}

Powered by Google App Engine
This is Rietveld 408576698