Mercurial > projects > ldc
diff gen/llvmhelpers.h @ 936:2ebac4750adb
Removed some dead code.
Fixed assertion filenames for imported template instances. Fixes #152 .
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Wed, 04 Feb 2009 02:10:23 +0100 |
parents | d3a6f1a96731 |
children | 39519a1ff603 |
line wrap: on
line diff
--- a/gen/llvmhelpers.h Tue Feb 03 17:27:01 2009 -0700 +++ b/gen/llvmhelpers.h Wed Feb 04 02:10:23 2009 +0100 @@ -16,7 +16,7 @@ llvm::AllocaInst* DtoAlloca(const LLType* lltype, LLValue* arraysize, const std::string& name = ""); // assertion generator -void DtoAssert(Loc* loc, DValue* msg); +void DtoAssert(Module* M, Loc* loc, DValue* msg); // return the LabelStatement from the current function with the given identifier or NULL if not found LabelStatement* DtoLabelStatement(Identifier* ident);