mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-07-25 16:45:21 +02:00
[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:
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user