diff gen/tollvm.h @ 1450:83bdf7bed9c5

Fix a type mismatch in ModuleInfo generation.
author Frits van Bommel <fvbommel wxs.nl>
date Mon, 01 Jun 2009 23:17:47 +0200
parents 63f4afd01036
children b3ba2c6ff038
line wrap: on
line diff
--- a/gen/tollvm.h	Mon Jun 01 01:28:18 2009 +0200
+++ b/gen/tollvm.h	Mon Jun 01 23:17:47 2009 +0200
@@ -48,6 +48,7 @@
 
 LLValue* DtoGEPi1(LLValue* ptr, unsigned i0, const char* var=NULL, llvm::BasicBlock* bb=NULL);
 LLValue* DtoGEPi(LLValue* ptr, unsigned i0, unsigned i1, const char* var=NULL, llvm::BasicBlock* bb=NULL);
+LLConstant* DtoGEPi(LLConstant* ptr, unsigned i0, unsigned i1);
 
 // to constant helpers
 LLConstantInt* DtoConstSize_t(uint64_t);