Fixed toobj.cpp to compile with latest LLVM, seems a method overload was removed recently.

This commit is contained in:
Tomas Lindquist Olsen
2008-08-31 18:38:16 +02:00
parent c44c04e004
commit 1565f00f85

View File

@@ -192,7 +192,7 @@ void Module::genobjfile(int multiobj)
if (global.params.disassemble) {
Logger::println("Writing LLVM asm to: %s\n", llfile->name->toChars());
std::ofstream aos(llpath.c_str());
ir.module->print(aos);
ir.module->print(aos, NULL);
}
delete ir.module;