diff gen/tollvm.cpp @ 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 a6dfd3cb5b99
line wrap: on
line diff
--- a/gen/tollvm.cpp	Sun May 17 03:10:55 2009 +0200
+++ b/gen/tollvm.cpp	Sun May 17 04:41:10 2009 +0200
@@ -489,7 +489,7 @@
 
 //////////////////////////////////////////////////////////////////////////////////////////
 
-llvm::ConstantInt* DtoConstSize_t(size_t i)
+llvm::ConstantInt* DtoConstSize_t(uint64_t i)
 {
     return llvm::ConstantInt::get(DtoSize_t(), i, false);
 }