Mercurial > projects > ldc
diff gen/functions.cpp @ 129:8096ba7082db trunk
[svn r133] Fixed some problems with inlining not happening :P
Fixed problems with certain cases of deeply nested classes/functions.
author | lindquist |
---|---|
date | Fri, 28 Dec 2007 22:55:24 +0100 |
parents | facc562f5674 |
children | 5825d48b27d1 |
line wrap: on
line diff
--- a/gen/functions.cpp Fri Nov 30 17:12:08 2007 +0100 +++ b/gen/functions.cpp Fri Dec 28 22:55:24 2007 +0100 @@ -540,7 +540,7 @@ } } 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);