Mercurial > projects > ldc
comparison 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 |
comparison
equal
deleted
inserted
replaced
322:1aaf6ff7f685 | 323:0d52412d5b1a |
---|---|
135 llvm::Module* module; | 135 llvm::Module* module; |
136 | 136 |
137 // interface info type, used in DtoInterfaceInfoType | 137 // interface info type, used in DtoInterfaceInfoType |
138 const LLStructType* interfaceInfoType; | 138 const LLStructType* interfaceInfoType; |
139 const LLStructType* mutexType; | 139 const LLStructType* mutexType; |
140 const LLStructType* moduleRefType; | |
140 | 141 |
141 // functions | 142 // functions |
142 typedef std::vector<IrFunction*> FunctionVector; | 143 typedef std::vector<IrFunction*> FunctionVector; |
143 FunctionVector functions; | 144 FunctionVector functions; |
144 IrFunction* func(); | 145 IrFunction* func(); |