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

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

Issue 2742283002: Add ConstantUse to WorldImpact (Closed)
Patch Set: Cleanup. Created 3 years, 9 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/universe/member_usage.dart
diff --git a/pkg/compiler/lib/src/universe/member_usage.dart b/pkg/compiler/lib/src/universe/member_usage.dart
index f0aba1367d1654e07923b04c6652147c038e9d82..08b37c96f5e2f2e76ffc2d5eb4a6ec66521dff7d 100644
--- a/pkg/compiler/lib/src/universe/member_usage.dart
+++ b/pkg/compiler/lib/src/universe/member_usage.dart
@@ -258,7 +258,7 @@ class _SetterUsage extends _MemberUsage {
return MemberUses.NONE;
}
hasWrite = true;
- return MemberUses.NORMAL_ONLY;
+ return _pendingUse.removeAll(MemberUses.NORMAL_ONLY);
Johnni Winther 2017/03/13 11:24:10 A fix from another CL.
}
@override

Powered by Google App Engine
This is Rietveld 408576698