diff dmd/dsymbol.c @ 1147:dbe4af57b240

Changed use of toObjFile to a new codegen method. More versioning of DMD specific codegen code.
author Tomas Lindquist Olsen <tomas.l.olsen gmail.com>
date Fri, 27 Mar 2009 17:54:27 +0100
parents 1860414bf3b7
children 78038e540342
line wrap: on
line diff
--- a/dmd/dsymbol.c	Thu Mar 26 20:45:53 2009 +0100
+++ b/dmd/dsymbol.c	Fri Mar 27 17:54:27 2009 +0100
@@ -48,6 +48,7 @@
 
 #if IN_LLVM
     this->llvmInternal = LLVMnone;
+    this->irsym = NULL;
 #endif
 }
 
@@ -66,6 +67,7 @@
 
 #if IN_LLVM
     this->llvmInternal = LLVMnone;
+    this->irsym = NULL;
 #endif
 }