Revert 9ab42038bb while I find what is

wrong on Windows.
This commit is contained in:
Rafael Ávila de Espíndola
2011-04-18 15:36:21 -04:00
parent 8a6590a75f
commit 9657e5d2d3
2 changed files with 30 additions and 25 deletions

View File

@@ -53,7 +53,6 @@ extern "C" void LLVMRustWriteOutputFile(LLVMPassManagerRef PMR, LLVMModuleRef M,
LLVMCodeGenFileType FileType) {
InitializeAllTargets();
InitializeAllAsmPrinters();
InitializeAllAsmParsers();
TargetMachine::setRelocationModel(Reloc::PIC_);
std::string Err;
const Target *TheTarget = TargetRegistry::lookupTarget(triple, Err);