Mercurial > projects > ldc
diff gen/irstate.h @ 323:0d52412d5b1a trunk
[svn r344] Fixed some very minor issues with the usage listing when calling llvmdc with no arguments.
Changed the way moduleinfo is registered to use the same approach as DMD, this eliminates the need for correct linking order and should make the way for using a natively compiled runtime library. This should speed up linking tremendously and should now be possible.
Fixed the llvm.used array to only be emitted if really necessary.
author | lindquist |
---|---|
date | Wed, 09 Jul 2008 23:43:51 +0200 |
parents | e9c93739bc4c |
children | 20446d22f832 |
line wrap: on
line diff
--- a/gen/irstate.h Wed Jul 09 17:02:55 2008 +0200 +++ b/gen/irstate.h Wed Jul 09 23:43:51 2008 +0200 @@ -137,6 +137,7 @@ // interface info type, used in DtoInterfaceInfoType const LLStructType* interfaceInfoType; const LLStructType* mutexType; + const LLStructType* moduleRefType; // functions typedef std::vector<IrFunction*> FunctionVector;