Index: tests/compiler/dart2js/mirrors_used_test.dart |
diff --git a/tests/compiler/dart2js/mirrors_used_test.dart b/tests/compiler/dart2js/mirrors_used_test.dart |
index b1e2ad64630cea73278a4fb590f7737d6d6f19d7..5aec8fa5f8464c2def5d7e3ced9df721f9409785 100644 |
--- a/tests/compiler/dart2js/mirrors_used_test.dart |
+++ b/tests/compiler/dart2js/mirrors_used_test.dart |
@@ -98,15 +98,15 @@ void main() { |
library.forEachLocalMember((member) { |
if (library == compiler.mainApp && member.name == 'Foo') { |
Expect.isTrue( |
- compiler.backend.isNeededForReflection(member), '$member'); |
+ compiler.backend.isAccessibleByReflection(member), '$member'); |
member.forEachLocalMember((classMember) { |
Expect.isTrue( |
- compiler.backend.isNeededForReflection(classMember), |
+ compiler.backend.isAccessibleByReflection(classMember), |
'$classMember'); |
}); |
} else { |
Expect.isFalse( |
- compiler.backend.isNeededForReflection(member), '$member'); |
+ compiler.backend.isAccessibleByReflection(member), '$member'); |
} |
}); |
} |