comparison tango/lib/compiler/llvmdc/typeinfo/ti_Along.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
3 3
4 private import tango.stdc.string; 4 private import tango.stdc.string;
5 5
6 // long[] 6 // long[]
7 7
8 class TypeInfo_Al : TypeInfo 8 class TypeInfo_Al : TypeInfo_Array
9 { 9 {
10 char[] toString() { return "long[]"; } 10 char[] toString() { return "long[]"; }
11 11
12 hash_t getHash(void *p) 12 hash_t getHash(void *p)
13 { long[] s = *cast(long[]*)p; 13 { long[] s = *cast(long[]*)p;