| 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 6f541ebef565b4b30df523312c981aa1a5f3a404..58a31a491b7667e60d11bed3580cc093ef10c064 100644
|
| --- a/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart
|
| +++ b/pkg/compiler/lib/src/inferrer/type_graph_inferrer.dart
|
| @@ -69,12 +69,6 @@ class TypeGraphInferrer implements TypesInferrer {
|
| inferrer.runOverAllElements();
|
| }
|
|
|
| - @deprecated
|
| - TypeMask getReturnTypeOfLocalFunction(LocalFunctionElement element) {
|
| - if (compiler.disableTypeInference) return _dynamicType;
|
| - return inferrer.types.getInferredTypeOfLocalFunction(element).type;
|
| - }
|
| -
|
| TypeMask getReturnTypeOfMember(MemberElement element) {
|
| if (compiler.disableTypeInference) return _dynamicType;
|
| // Currently, closure calls return dynamic.
|
| @@ -87,12 +81,6 @@ class TypeGraphInferrer implements TypesInferrer {
|
| return _dynamicType;
|
| }
|
|
|
| - @deprecated
|
| - TypeMask getTypeOfLocalFunction(LocalFunctionElement element) {
|
| - if (compiler.disableTypeInference) return _dynamicType;
|
| - return commonMasks.functionType;
|
| - }
|
| -
|
| TypeMask getTypeOfMember(MemberElement element) {
|
| if (compiler.disableTypeInference) return _dynamicType;
|
| // The inferrer stores the return type for a function, so we have to
|
| @@ -156,14 +144,6 @@ class TypeGraphInferrer implements TypesInferrer {
|
| return inferrer.getCallersOf(element);
|
| }
|
|
|
| - @deprecated
|
| - bool isLocalFunctionCalledOnce(LocalFunctionElement element) {
|
| - if (compiler.disableTypeInference) return false;
|
| - MemberTypeInformation info =
|
| - inferrer.types.getInferredTypeOfLocalFunction(element);
|
| - return info.isCalledOnce();
|
| - }
|
| -
|
| bool isMemberCalledOnce(MemberElement element) {
|
| if (compiler.disableTypeInference) return false;
|
| MemberTypeInformation info =
|
|
|