comparison tango/lib/compiler/llvmdc/typeinfo/ti_Acreal.d @ 213:7816aafeea3c trunk

[svn r229] Updated the object.d implementation to the latest Tango. Fixed a bunch of the built-in typeinfos for arrays, they did not inherit TypeInfo_Array. Applied patch to tango/text/convert/Layout.d by fvbommel, closes #47 . Cleaned up some type code. Replaced uses of llvm::Type with LLType (a typedef), same for Value and Constant. Fixed a few cases where typeinfo for user structs could be emitted multiple times, seems to still be some cases of this :/
author lindquist
date Fri, 30 May 2008 19:32:04 +0200
parents 1700239cab2e
children
comparison
equal deleted inserted replaced
212:4c2689d57ba4 213:7816aafeea3c
25 25
26 private import typeinfo.ti_creal; 26 private import typeinfo.ti_creal;
27 27
28 // creal[] 28 // creal[]
29 29
30 class TypeInfo_Ac : TypeInfo 30 class TypeInfo_Ac : TypeInfo_Array
31 { 31 {
32 char[] toString() { return "creal[]"; } 32 char[] toString() { return "creal[]"; }
33 33
34 hash_t getHash(void *p) 34 hash_t getHash(void *p)
35 { creal[] s = *cast(creal[]*)p; 35 { creal[] s = *cast(creal[]*)p;