Drop isCandidateForInline

This commit is contained in:
Pietro Fezzardi
2024-04-11 08:14:52 +02:00
parent 8a7b5d4a25
commit e052dee40f
2 changed files with 4 additions and 11 deletions
+1 -1
View File
@@ -1988,7 +1988,7 @@ void CCodeGenerator::emitFunction(bool NeedsLocalStateVar,
// For all nested types within stack definition we print forward
// declarations.
for (auto *Type : TheStackTypes) {
revng_assert(isCandidateForInline(Type));
revng_assert(not declarationIsDefinition(Type));
printForwardDeclaration(*Type, Out, B);
}
printDefinition(Log,