Index: tests/compiler/dart2js/expect_annotations_test.dart |
diff --git a/tests/compiler/dart2js/expect_annotations_test.dart b/tests/compiler/dart2js/expect_annotations_test.dart |
index 9ca88103b18316301eda3c31450b62bff38c2617..f8af6052d8ec348355d2abc2d21084cce93f212b 100644 |
--- a/tests/compiler/dart2js/expect_annotations_test.dart |
+++ b/tests/compiler/dart2js/expect_annotations_test.dart |
@@ -84,17 +84,17 @@ main() { |
TypeMask expectedReturnType: null, |
bool expectAssumeDynamic: false}) { |
LibraryElement mainApp = compiler.mainApp; |
- Element method = mainApp.find(name); |
+ MethodElement method = mainApp.find(name); |
Expect.isNotNull(method); |
- Expect.equals(expectNoInline, backend.annotations.noInline(method), |
+ Expect.equals(expectNoInline, backend.optimizerHints.noInline(method), |
"Unexpected annotation of @NoInline on '$method'."); |
Expect.equals( |
expectTrustTypeAnnotations, |
- backend.annotations.trustTypeAnnotations(method), |
+ backend.optimizerHints.trustTypeAnnotations(method), |
"Unexpected annotation of @TrustTypeAnnotations on '$method'."); |
Expect.equals( |
expectAssumeDynamic, |
- backend.annotations.assumeDynamic(method), |
+ backend.optimizerHints.assumeDynamic(method), |
"Unexpected annotation of @AssumeDynamic on '$method'."); |
TypesInferrer inferrer = compiler.globalInference.typesInferrerInternal; |
if (expectTrustTypeAnnotations && expectedParameterType != null) { |