Index: tests/compiler/dart2js/analyze_unused_dart2js_test.dart |
diff --git a/tests/compiler/dart2js/analyze_unused_dart2js_test.dart b/tests/compiler/dart2js/analyze_unused_dart2js_test.dart |
index e7ff9c33bf8e463bfc53d5ff7c1c5c5d1cebb265..e2867769ac223faac14ddc132e7bf632d40445d5 100644 |
--- a/tests/compiler/dart2js/analyze_unused_dart2js_test.dart |
+++ b/tests/compiler/dart2js/analyze_unused_dart2js_test.dart |
@@ -45,7 +45,7 @@ bool checkResults(Compiler compiler, CollectingDiagnosticHandler handler) { |
'sdk/lib/_internal/compiler/implementation/helpers/helpers.dart'); |
void checkLive(member) { |
if (member.isFunction) { |
- if (compiler.enqueuer.resolution.isLive(member)) { |
+ if (compiler.enqueuer.resolution.hasBeenResolved(member)) { |
compiler.reportHint(member, MessageKind.GENERIC, |
{'text': "Helper function in production code '$member'."}); |
} |