Eliminate the need for TypeFunction::funcdecl

This commit is contained in:
Alexey Prokhin 2013-10-01 14:00:28 +04:00
parent ca82589e25
commit b819975c84
22 changed files with 187 additions and 160 deletions

View file

@ -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)));
}