Mark isEmptyInterface as noinline.

This commit is contained in:
Max Schaefer
2019-11-21 15:28:26 +00:00
parent 73922e98d7
commit e367a48f6e

View File

@@ -581,6 +581,7 @@ class NamedType extends @namedtype, CompositeType {
/**
* Holds if `i` is the empty interface type, which is implemented by every type with a method set.
*/
pragma[noinline]
private predicate isEmptyInterface(InterfaceType i) { not i.hasMethod(_, _) }
/**