mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-07 03:16:05 +03:00
[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:
parent
f420bc1265
commit
5eb88f9e80
17 changed files with 263 additions and 59 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue