Mercurial > projects > ldc
diff gen/tollvm.h @ 77:714057ff2dbb trunk
[svn r81] Fixed: Union support was very buggy. Should be fairly solid now.
author | lindquist |
---|---|
date | Wed, 31 Oct 2007 09:34:18 +0100 |
parents | d7e764e62462 |
children | 3587401b6eeb |
line wrap: on
line diff
--- a/gen/tollvm.h Wed Oct 31 07:24:02 2007 +0100 +++ b/gen/tollvm.h Wed Oct 31 09:34:18 2007 +0100 @@ -65,4 +65,6 @@ void LLVM_DtoMemCpy(llvm::Value* dst, llvm::Value* src, llvm::Value* nbytes); +llvm::Value* LLVM_DtoIndexStruct(llvm::Value* ptr, StructDeclaration* sd, Type* t, unsigned os, std::vector<unsigned>& idxs); + #include "enums.h"