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

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

Issue 2455073003: Compute NativeBehavior for foreign functions. (Closed)
Patch Set: Cleanup. Created 4 years, 2 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 9db38fdff5449eb60cdf9a853058ab4e520bce93..c9f03f285dbd8875ac58071c18058c074517c84e 100644
--- a/pkg/compiler/lib/src/serialization/equivalence.dart
+++ b/pkg/compiler/lib/src/serialization/equivalence.dart
@@ -990,7 +990,9 @@ bool testResolutionImpactEquivalence(
strategy.testSets(impact1, impact2, 'staticUses', impact1.staticUses,
impact2.staticUses, areStaticUsesEquivalent) &&
strategy.testSets(impact1, impact2, 'typeUses', impact1.typeUses,
- impact2.typeUses, areTypeUsesEquivalent);
+ impact2.typeUses, areTypeUsesEquivalent) &&
+ strategy.testSets(impact1, impact2, 'nativeData', impact1.nativeData,
+ impact2.nativeData, testNativeBehavior);
}
/// Tests the equivalence of [resolvedAst1] and [resolvedAst2] using [strategy].

Powered by Google App Engine
This is Rietveld 408576698