[svn r228] Fixed: when new'ing basic types, the storage was not default initialized.

Fixed: the tango/lib/compiler/llvmdc/llvmdc.mak makefile was a bit incorrect.
Changed: the basic gc is now the default.
Changed: renamed a few temporary names in the LLVM IR output.
This commit is contained in:
Tomas Lindquist Olsen
2008-05-27 22:14:24 +02:00
parent 6b735db510
commit 0b479b5749
6 changed files with 36 additions and 12 deletions

View File

@@ -206,7 +206,7 @@ extern (C) void* _d_newarrayT(TypeInfo ti, size_t length)
void* p;
auto size = ti.next.tsize(); // array element size
debug(PRINTF) printf("_d_newarrayT(length = x%x, size = %d)\n", length, size);
debug(PRINTF) printf("_d_newarrayT(length = %u, size = %d)\n", length, size);
if (length == 0 || size == 0)
return null;

View File

@@ -10,11 +10,11 @@
# make clean
# Delete unneeded files created by build process
LIB_TARGET=libtango-rt-llvmdc.a
LIB_MASK=libtango-rt-llvmdc*.a
LIB_TARGET=libtango-base-llvmdc.a
LIB_MASK=libtango-base-llvmdc*.a
LIB_TARGET_C=libtango-rt-c-llvmdc.a
LIB_MASK_C=libtango-rt-c-llvmdc*.a
LIB_TARGET_C=libtango-base-c-llvmdc.a
LIB_MASK_C=libtango-base-c-llvmdc*.a
CP=cp -f
RM=rm -f

View File

@@ -17,8 +17,8 @@ LIB_MASK_C=libtango-base-c-llvmdc*.a
DIR_CC=./common/tango
DIR_RT=./compiler/llvmdc
#DIR_GC=./gc/basic
DIR_GC=./gc/stub
DIR_GC=./gc/basic
#DIR_GC=./gc/stub
CP=cp -f
RM=rm -f