Index: pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart |
diff --git a/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart b/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart |
index 58a31a491b7667e60d11bed3580cc093ef10c064..8be922b325a436c672ffc40ab76d22e2428d44dd 100644 |
--- a/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart |
+++ b/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart |
@@ -151,13 +151,6 @@ class TypeGraphInferrer implements TypesInferrer { |
return info.isCalledOnce(); |
} |
- bool isParameterCalledOnce(ParameterElement element) { |
- if (compiler.disableTypeInference) return false; |
- MemberTypeInformation info = |
- inferrer.types.getInferredTypeOfParameter(element); |
- return info.isCalledOnce(); |
- } |
- |
void clear() { |
inferrer.clear(); |
} |