Don't reset gTargetData after compiling a module. Fixes segfault when

compiling more than one file.
This commit is contained in:
Christian Kamm
2009-02-28 09:06:25 +01:00
parent 70b97b9d1e
commit 993a624e3e

View File

@@ -242,7 +242,6 @@ void Module::genobjfile(int multiobj)
}
delete ir.module;
gTargetData = 0;
gIR = NULL;
if (llvmForceLogging && !logenabled)