Index: pkg/compiler/lib/src/inferrer/inferrer_engine.dart |
diff --git a/pkg/compiler/lib/src/inferrer/inferrer_engine.dart b/pkg/compiler/lib/src/inferrer/inferrer_engine.dart |
index 466fa9457a56ae8846cdfa9865e264e569609095..21d73f961270c5ea6e812180f7715fd0ed76c7e2 100644 |
--- a/pkg/compiler/lib/src/inferrer/inferrer_engine.dart |
+++ b/pkg/compiler/lib/src/inferrer/inferrer_engine.dart |
@@ -87,17 +87,6 @@ class InferrerEngine { |
CommonElements get commonElements => closedWorld.commonElements; |
- /// Returns `true` if [element] has an `@AssumeDynamic()` annotation. |
- bool assumeDynamic(Element element) { |
- return element is MemberElement && optimizerHints.assumeDynamic(element); |
- } |
- |
- /// Returns `true` if [element] has an `@TrustTypeAnnotations()` annotation. |
- bool trustTypeAnnotations(Element element) { |
- return element is MemberElement && |
- optimizerHints.trustTypeAnnotations(element); |
- } |
- |
/** |
* Applies [f] to all elements in the universe that match |
* [selector] and [mask]. If [f] returns false, aborts the iteration. |