changeset 1005:5aa5d25508c6

Don't reset gTargetData after compiling a module. Fixes segfault when compiling more than one file.
author Christian Kamm <kamm incasoftware de>
date Sat, 28 Feb 2009 09:06:25 +0100
parents 45ed9e125a00
children 132bece5ae62
files gen/toobj.cpp
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gen/toobj.cpp	Fri Feb 27 19:41:25 2009 +0100
+++ b/gen/toobj.cpp	Sat Feb 28 09:06:25 2009 +0100
@@ -242,7 +242,6 @@
     }
 
     delete ir.module;
-    gTargetData = 0;
     gIR = NULL;
     
     if (llvmForceLogging && !logenabled)