diff gen/tollvm.h @ 1375:63f4afd01036

Cleaned up TypeInfo_Struct. Fixed problem with DtoConstSize_t taking a size_t argument, this is not enough for cross compiling from 32bit host to a 64bit target. It now takes uint64_t. There's probably a lot of similar case around to code ...
author Tomas Lindquist Olsen <tomas.l.olsen gmail com>
date Sun, 17 May 2009 04:41:10 +0200
parents 46f6365a50d7
children 83bdf7bed9c5
line wrap: on
line diff
--- a/gen/tollvm.h	Sun May 17 03:10:55 2009 +0200
+++ b/gen/tollvm.h	Sun May 17 04:41:10 2009 +0200
@@ -50,7 +50,7 @@
 LLValue* DtoGEPi(LLValue* ptr, unsigned i0, unsigned i1, const char* var=NULL, llvm::BasicBlock* bb=NULL);
 
 // to constant helpers
-LLConstantInt* DtoConstSize_t(size_t);
+LLConstantInt* DtoConstSize_t(uint64_t);
 LLConstantInt* DtoConstUint(unsigned i);
 LLConstantInt* DtoConstInt(int i);
 LLConstantInt* DtoConstUbyte(unsigned char i);