[remove dead code]

This commit is contained in:
Martin Kinkelin 2024-07-18 23:35:09 +02:00
parent 0c1623c1a0
commit 6bfa6d9adb

View file

@ -279,11 +279,6 @@ llvm::FunctionType *DtoFunctionType(FuncDeclaration *fdecl) {
if (AggregateDeclaration *ad = fdecl->isMember2()) {
IF_LOG Logger::println("isMember = this is: %s", ad->type->toChars());
dthis = ad->type;
LLType *thisty = DtoType(dthis);
// Logger::cout() << "this llvm type: " << *thisty << '\n';
if (ad->isStructDeclaration()) {
thisty = getOpaquePtrType();
}
} else {
IF_LOG Logger::println("chars: %s type: %s kind: %s", fdecl->toChars(),
fdecl->type->toChars(), fdecl->kind());