Index: pkg/compiler/lib/src/universe/use.dart |
diff --git a/pkg/compiler/lib/src/universe/use.dart b/pkg/compiler/lib/src/universe/use.dart |
index d54815c4da07aa6e838fcb4985fd2aca7dcc4b59..9f5482be1b6ecba16d83e0cd4a924789fe4e669a 100644 |
--- a/pkg/compiler/lib/src/universe/use.dart |
+++ b/pkg/compiler/lib/src/universe/use.dart |
@@ -81,6 +81,7 @@ enum StaticUseKind { |
REDIRECTION, |
DIRECT_INVOKE, |
DIRECT_USE, |
+ INLINING, |
} |
/// Statically known use of an [Element]. |
@@ -338,6 +339,11 @@ class StaticUse { |
return new StaticUse.internal(element, StaticUseKind.DIRECT_USE); |
} |
+ /// Inlining of [element]. |
+ factory StaticUse.inlining(FunctionEntity element) { |
+ return new StaticUse.internal(element, StaticUseKind.INLINING); |
+ } |
+ |
bool operator ==(other) { |
if (identical(this, other)) return true; |
if (other is! StaticUse) return false; |