[svn r133] Fixed some problems with inlining not happening :P

Fixed problems with certain cases of deeply nested classes/functions.
This commit is contained in:
Tomas Lindquist Olsen 2007-12-28 22:55:24 +01:00
parent f420bc1265
commit 5eb88f9e80
17 changed files with 263 additions and 59 deletions

View file

@ -540,7 +540,7 @@ void DtoDefineFunc(FuncDeclaration* fd)
}
}
const llvm::StructType* nestSType = llvm::StructType::get(nestTypes);
Logger::cout() << "nested var struct has type:" << '\n' << *nestSType;
Logger::cout() << "nested var struct has type:" << *nestSType << '\n';
fd->llvmNested = new llvm::AllocaInst(nestSType,"nestedvars",allocaPoint);
if (parentNested) {
assert(fd->llvmThisVar);