# HG changeset patch # User Tomas Lindquist Olsen # Date 1220200696 -7200 # Node ID 3c07287765bc658b939d9af3ee0b5e8fd8b545a9 # Parent 4b1b0d262c9a5c15431e94af9c9e9319e47a1431 Fixed toobj.cpp to compile with latest LLVM, seems a method overload was removed recently. diff -r 4b1b0d262c9a -r 3c07287765bc gen/toobj.cpp --- a/gen/toobj.cpp Sun Aug 31 17:29:52 2008 +0200 +++ b/gen/toobj.cpp Sun Aug 31 18:38:16 2008 +0200 @@ -192,7 +192,7 @@ 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;