diff gen/irstate.cpp @ 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 a9697749e898
children 20446d22f832
line wrap: on
line diff
--- a/gen/irstate.cpp	Wed Jul 09 17:02:55 2008 +0200
+++ b/gen/irstate.cpp	Wed Jul 09 23:43:51 2008 +0200
@@ -51,6 +51,7 @@
 {
     interfaceInfoType = NULL;
     mutexType = NULL;
+    moduleRefType = NULL;
 
     dmodule = 0;
     module = 0;