From 1565f00f857d615e2f7ee3797f4612141c2e63a0 Mon Sep 17 00:00:00 2001 From: Tomas Lindquist Olsen Date: Sun, 31 Aug 2008 18:38:16 +0200 Subject: [PATCH] Fixed toobj.cpp to compile with latest LLVM, seems a method overload was removed recently. --- gen/toobj.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen/toobj.cpp b/gen/toobj.cpp index 1a237ddf..4da50bb3 100644 --- a/gen/toobj.cpp +++ b/gen/toobj.cpp @@ -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;