mirror of
https://github.com/github/codeql.git
synced 2026-01-29 22:32:58 +01:00
Mark isEmptyInterface as noinline.
This commit is contained in:
@@ -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(_, _) }
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user