Mercurial > projects > ldc
comparison tango/lib/compiler/llvmdc/memory.d @ 217:0806379a5eca trunk
[svn r233] Added: -oq command line option for writing fully qualified object names.
Added: started support for x86 80bit floating point.
Changed: aggregates passed by value now use the llvm 'byval' parameter attribute, also lays ground work for
using other attributes.
Changed: eliminated a lot more std::vectorS, these showed up pretty much at the top when profiling!
Changed: performed other misc. cleanups.
Changed: halt expression now call the new llvm trap intrinsic instead of an assert(0).
Changed: dstress suite now passes -O0 by default, this only eliminates unreferenced globals, which speeds up
linking quite a bit.
author | lindquist |
---|---|
date | Thu, 05 Jun 2008 06:38:36 +0200 |
parents | 1700239cab2e |
children | d9d5d59873d8 |
comparison
equal
deleted
inserted
replaced
216:3d022aa016ae | 217:0806379a5eca |
---|---|
45 { | 45 { |
46 pragma(LLVM_internal, "intrinsic", "llvm.frameaddress") | 46 pragma(LLVM_internal, "intrinsic", "llvm.frameaddress") |
47 { | 47 { |
48 void* llvm_frameaddress(uint level=0); | 48 void* llvm_frameaddress(uint level=0); |
49 } | 49 } |
50 extern(C) int printf(char*, ...); | |
50 } | 51 } |
51 } | 52 } |
52 | 53 |
53 | 54 |
54 /** | 55 /** |
159 { | 160 { |
160 scan( &_xi_a, &_end ); | 161 scan( &_xi_a, &_end ); |
161 } | 162 } |
162 else version( linux ) | 163 else version( linux ) |
163 { | 164 { |
165 //printf("scanning static data from %p to %p\n", &__data_start, &_end); | |
164 scan( &__data_start, &_end ); | 166 scan( &__data_start, &_end ); |
165 } | 167 } |
166 else | 168 else |
167 { | 169 { |
168 static assert( false, "Operating system not supported." ); | 170 static assert( false, "Operating system not supported." ); |