diff --git a/compiler/llvm/llvmtype.pas b/compiler/llvm/llvmtype.pas index f2ce46fd56..b499034a73 100644 --- a/compiler/llvm/llvmtype.pas +++ b/compiler/llvm/llvmtype.pas @@ -683,7 +683,7 @@ implementation procedure TLLVMTypeInfo.appenddef_object(list:TAsmList;def: tobjectdef); begin - if is_any_interface_kind(def) then + if is_interface(def) then begin record_def(def); record_def(def.vmt_def);