Mercurial > projects > ldc
diff gen/llvmhelpers.h @ 527:cecfee2d01a8
Added support for overloaded intrinsics.
Added atomic intrinsics in the intrinsics.di header.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Wed, 20 Aug 2008 01:02:22 +0200 |
parents | ca2dfe98036c |
children | df196c8dea26 |
line wrap: on
line diff
--- a/gen/llvmhelpers.h Tue Aug 19 20:18:01 2008 +0200 +++ b/gen/llvmhelpers.h Wed Aug 20 01:02:22 2008 +0200 @@ -110,6 +110,9 @@ /// get the default initializer of the type LLConstant* DtoDefaultInit(Type* t); +// fixup an overloaded intrinsic name string +void DtoOverloadedIntrinsicName(TemplateInstance* ti, TemplateDeclaration* td, std::string& name); + //////////////////////////////////////////// // gen/tocall.cpp stuff below ////////////////////////////////////////////