comparison tango/lib/compiler/llvmdc/genobj.d @ 275:665b81613475 trunk

[svn r296] Removed: the 'suite' dir, it never took off! Fixed: foreach statement, key-type checks were buggy. Fixed: setting LLVMDC versions on the command line is now an error. Fixed: array compare runtime had incorrect param attrs on call. Fixed: index expressions on dynamic array slices w/o storage was broken. Fixed: scope classes had incorrect finalization in some cases. Fixed: when outputting !ClassInfoS !OffsetTypeInfoS, static class members were trying to be included, crashing the compiler. Fixed: calling LLVMDC with -inline but not any -O option caused assertion failure. Changed: the runtime now uses a single interface to "get" to !TypeInfoS, part of eliminating duplicate !TypeInfo codegen.
author lindquist
date Thu, 19 Jun 2008 17:30:32 +0200
parents 94ef6d63f7bb
children 0d52412d5b1a
comparison
equal deleted inserted replaced
274:9f228c1e5311 275:665b81613475
31 * distribution. 31 * distribution.
32 */ 32 */
33 33
34 /* 34 /*
35 * Modified by Sean Kelly <sean@f4.ca> for use with Tango. 35 * Modified by Sean Kelly <sean@f4.ca> for use with Tango.
36 * Modified by Tomas Lindquist Olsen <tomas@famolsen.dk> for use with LLVMDC.
36 */ 37 */
37 38
38 module object; 39 module object;
39 40
40 //debug=PRINTF 41 //debug=PRINTF
54 // in this particular file (and this file only). It must 55 // in this particular file (and this file only). It must
55 // be a DMD thing. 56 // be a DMD thing.
56 //alias typeof(int.sizeof) size_t; 57 //alias typeof(int.sizeof) size_t;
57 //alias typeof(cast(void*)0 - cast(void*)0) ptrdiff_t; 58 //alias typeof(cast(void*)0 - cast(void*)0) ptrdiff_t;
58 59
59 version( X86_64 ) 60 version( LLVM64 )
60 { 61 {
61 alias ulong size_t; 62 alias ulong size_t;
62 alias long ptrdiff_t; 63 alias long ptrdiff_t;
63 } 64 }
64 else 65 else