Mercurial > projects > ldc
changeset 565:3c07287765bc
Fixed toobj.cpp to compile with latest LLVM, seems a method overload was removed recently.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Sun, 31 Aug 2008 18:38:16 +0200 |
parents | 4b1b0d262c9a |
children | 68d7df3f9b05 |
files | gen/toobj.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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;