Mercurial > projects > ldc
diff gen/llvmhelpers.h @ 1271:0686701178d3
Moved special casing of 'assert(this, "null this");' generated statements from !ThisExp into !AssertExp.
Fixed filenames for array bounds errors and probably others, fixes #271 .
author | Tomas Lindquist Olsen <tomas.l.olsen gmail com> |
---|---|
date | Mon, 27 Apr 2009 13:30:48 +0200 |
parents | 9014d7f0433f |
children | 15e9762bb620 |
line wrap: on
line diff
--- a/gen/llvmhelpers.h Mon Apr 27 03:40:40 2009 +0200 +++ b/gen/llvmhelpers.h Mon Apr 27 13:30:48 2009 +0200 @@ -137,6 +137,9 @@ /// DValue* DtoInlineAsmExpr(Loc loc, FuncDeclaration* fd, Expressions* arguments); +/// Create the IrModule if necessary and returns it. +IrModule* getIrModule(Module* M); + //////////////////////////////////////////// // gen/tocall.cpp stuff below ////////////////////////////////////////////