mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-01 23:50:43 +03:00
[remove dead code]
This commit is contained in:
parent
0c1623c1a0
commit
6bfa6d9adb
1 changed files with 0 additions and 5 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue