mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-04-28 22:21:31 +03:00
Eliminate the need for TypeFunction::funcdecl
This commit is contained in:
parent
ca82589e25
commit
b819975c84
22 changed files with 187 additions and 160 deletions
|
@ -25,6 +25,7 @@
|
|||
#include "gen/tollvm.h"
|
||||
#include "gen/utils.h"
|
||||
#include "gen/llvmhelpers.h"
|
||||
#include "gen/functions.h"
|
||||
#include "ir/irtypeclass.h"
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -346,7 +347,7 @@ std::vector<llvm::Type*> IrTypeClass::buildVtblType(Type* first, Array* vtbl_arr
|
|||
continue;
|
||||
}
|
||||
|
||||
types.push_back(DtoType(fd->type->pointerTo()));
|
||||
types.push_back(getPtrToType(DtoFunctionType(fd)));
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue