Changeset 763:9a9f403ab399
- Timestamp:
- 11/12/08 01:22:05 (2 months ago)
- Files:
-
- dmd2/mtype.c (modified) (1 diff)
- druntime/doc/.empty (deleted)
- druntime/import/core/bitmanip.di (deleted)
- druntime/import/core/exception.di (deleted)
- druntime/import/core/memory.di (deleted)
- druntime/import/core/memory_.di (deleted)
- druntime/import/core/runtime.di (deleted)
- druntime/import/core/thread.di (deleted)
- druntime/import/ldc/bitmanip.di (deleted)
- druntime/import/ldc/cstdarg.di (deleted)
- druntime/import/ldc/intrinsics.di (deleted)
- druntime/import/ldc/vararg.di (deleted)
- druntime/import/object.di (deleted)
- druntime/import/std/c/stdarg.di (deleted)
- druntime/import/std/intrinsic.di (deleted)
- druntime/import/std/stdarg.di (deleted)
- druntime/import/stdc/complex.d (deleted)
- druntime/import/stdc/config.d (deleted)
- druntime/import/stdc/ctype.d (deleted)
- druntime/import/stdc/errno.d (deleted)
- druntime/import/stdc/fenv.d (deleted)
- druntime/import/stdc/inttypes.d (deleted)
- druntime/import/stdc/limits.d (deleted)
- druntime/import/stdc/locale.d (deleted)
- druntime/import/stdc/math.d (deleted)
- druntime/import/stdc/posix/arpa/inet.d (deleted)
- druntime/import/stdc/posix/config.d (deleted)
- druntime/import/stdc/posix/dirent.d (deleted)
- druntime/import/stdc/posix/dlfcn.d (deleted)
- druntime/import/stdc/posix/fcntl.d (deleted)
- druntime/import/stdc/posix/inttypes.d (deleted)
- druntime/import/stdc/posix/net/if_.d (deleted)
- druntime/import/stdc/posix/netinet/in_.d (deleted)
- druntime/import/stdc/posix/netinet/tcp.d (deleted)
- druntime/import/stdc/posix/poll.d (deleted)
- druntime/import/stdc/posix/pthread.d (deleted)
- druntime/import/stdc/posix/pwd.d (deleted)
- druntime/import/stdc/posix/sched.d (deleted)
- druntime/import/stdc/posix/semaphore.d (deleted)
- druntime/import/stdc/posix/setjmp.d (deleted)
- druntime/import/stdc/posix/signal.d (deleted)
- druntime/import/stdc/posix/stdio.d (deleted)
- druntime/import/stdc/posix/stdlib.d (deleted)
- druntime/import/stdc/posix/sys/ipc.d (deleted)
- druntime/import/stdc/posix/sys/mman.d (deleted)
- druntime/import/stdc/posix/sys/select.d (deleted)
- druntime/import/stdc/posix/sys/shm.d (deleted)
- druntime/import/stdc/posix/sys/socket.d (deleted)
- druntime/import/stdc/posix/sys/stat.d (deleted)
- druntime/import/stdc/posix/sys/time.d (deleted)
- druntime/import/stdc/posix/sys/types.d (deleted)
- druntime/import/stdc/posix/sys/uio.d (deleted)
- druntime/import/stdc/posix/sys/wait.d (deleted)
- druntime/import/stdc/posix/termios.d (deleted)
- druntime/import/stdc/posix/time.d (deleted)
- druntime/import/stdc/posix/ucontext.d (deleted)
- druntime/import/stdc/posix/unistd.d (deleted)
- druntime/import/stdc/posix/utime.d (deleted)
- druntime/import/stdc/signal.d (deleted)
- druntime/import/stdc/stdarg.d (deleted)
- druntime/import/stdc/stddef.d (deleted)
- druntime/import/stdc/stdint.d (deleted)
- druntime/import/stdc/stdio.d (deleted)
- druntime/import/stdc/stdlib.d (deleted)
- druntime/import/stdc/string.d (deleted)
- druntime/import/stdc/tgmath.d (deleted)
- druntime/import/stdc/time.d (deleted)
- druntime/import/stdc/wctype.d (deleted)
- druntime/lib/.empty (deleted)
- druntime/license.txt (deleted)
- druntime/readme.txt (deleted)
- druntime/src/build-dmd.bat (deleted)
- druntime/src/build-dmd.sh (deleted)
- druntime/src/build-ldc.sh (deleted)
- druntime/src/common/core/bitmanip.d (deleted)
- druntime/src/common/core/exception.d (deleted)
- druntime/src/common/core/memory.d (deleted)
- druntime/src/common/core/runtime.d (deleted)
- druntime/src/common/core/thread.d (deleted)
- druntime/src/common/ldc.mak (deleted)
- druntime/src/common/posix.mak (deleted)
- druntime/src/common/stdc/errno.c (deleted)
- druntime/src/common/win32.mak (deleted)
- druntime/src/compiler/dmd/aApply.d (deleted)
- druntime/src/compiler/dmd/aApplyR.d (deleted)
- druntime/src/compiler/dmd/aaA.d (deleted)
- druntime/src/compiler/dmd/adi.d (deleted)
- druntime/src/compiler/dmd/alloca.d (deleted)
- druntime/src/compiler/dmd/arrayassign.d (deleted)
- druntime/src/compiler/dmd/arraybyte.d (deleted)
- druntime/src/compiler/dmd/arraycast.d (deleted)
- druntime/src/compiler/dmd/arraycat.d (deleted)
- druntime/src/compiler/dmd/arraydouble.d (deleted)
- druntime/src/compiler/dmd/arrayfloat.d (deleted)
- druntime/src/compiler/dmd/arrayint.d (deleted)
- druntime/src/compiler/dmd/arrayreal.d (deleted)
- druntime/src/compiler/dmd/arrayshort.d (deleted)
- druntime/src/compiler/dmd/cast_.d (deleted)
- druntime/src/compiler/dmd/cmath2.d (deleted)
- druntime/src/compiler/dmd/compiler.d (deleted)
- druntime/src/compiler/dmd/complex.c (deleted)
- druntime/src/compiler/dmd/cover.d (deleted)
- druntime/src/compiler/dmd/critical.c (deleted)
- druntime/src/compiler/dmd/deh.c (deleted)
- druntime/src/compiler/dmd/deh2.d (deleted)
- druntime/src/compiler/dmd/dmain2.d (deleted)
- druntime/src/compiler/dmd/invariant.d (deleted)
- druntime/src/compiler/dmd/invariant_.d (deleted)
- druntime/src/compiler/dmd/lifetime.d (deleted)
- druntime/src/compiler/dmd/llmath.d (deleted)
- druntime/src/compiler/dmd/mars.h (deleted)
- druntime/src/compiler/dmd/memory.d (deleted)
- druntime/src/compiler/dmd/memset.d (deleted)
- druntime/src/compiler/dmd/minit.asm (deleted)
- druntime/src/compiler/dmd/minit.obj (deleted)
- druntime/src/compiler/dmd/monitor.c (deleted)
- druntime/src/compiler/dmd/obj.d (deleted)
- druntime/src/compiler/dmd/object_.d (deleted)
- druntime/src/compiler/dmd/posix.mak (deleted)
- druntime/src/compiler/dmd/qsort.d (deleted)
- druntime/src/compiler/dmd/qsort2.d (deleted)
- druntime/src/compiler/dmd/switch_.d (deleted)
- druntime/src/compiler/dmd/trace.d (deleted)
- druntime/src/compiler/dmd/typeinfo/ti_AC.d (deleted)
- druntime/src/compiler/dmd/typeinfo/ti_Acdouble.d (deleted)
- druntime/src/compiler/dmd/typeinfo/ti_Acfloat.d (deleted)
- druntime/src/compiler/dmd/typeinfo/ti_Acreal.d (deleted)
- druntime/src/compiler/dmd/typeinfo/ti_Adouble.d (deleted)
- druntime/src/compiler/dmd/typeinfo/ti_Afloat.d (deleted)
- druntime/src/compiler/dmd/typeinfo/ti_Ag.d (deleted)
- druntime/src/compiler/dmd/typeinfo/ti_Aint.d (deleted)
- druntime/src/compiler/dmd/typeinfo/ti_Along.d (deleted)
- druntime/src/compiler/dmd/typeinfo/ti_Areal.d (deleted)
- druntime/src/compiler/dmd/typeinfo/ti_Ashort.d (deleted)
- druntime/src/compiler/dmd/typeinfo/ti_C.d (deleted)
- druntime/src/compiler/dmd/typeinfo/ti_byte.d (deleted)
- druntime/src/compiler/dmd/typeinfo/ti_cdouble.d (deleted)
- druntime/src/compiler/dmd/typeinfo/ti_cfloat.d (deleted)
- druntime/src/compiler/dmd/typeinfo/ti_char.d (deleted)
- druntime/src/compiler/dmd/typeinfo/ti_creal.d (deleted)
- druntime/src/compiler/dmd/typeinfo/ti_dchar.d (deleted)
- druntime/src/compiler/dmd/typeinfo/ti_delegate.d (deleted)
- druntime/src/compiler/dmd/typeinfo/ti_double.d (deleted)
- druntime/src/compiler/dmd/typeinfo/ti_float.d (deleted)
- druntime/src/compiler/dmd/typeinfo/ti_idouble.d (deleted)
- druntime/src/compiler/dmd/typeinfo/ti_ifloat.d (deleted)
- druntime/src/compiler/dmd/typeinfo/ti_int.d (deleted)
- druntime/src/compiler/dmd/typeinfo/ti_ireal.d (deleted)
- druntime/src/compiler/dmd/typeinfo/ti_long.d (deleted)
- druntime/src/compiler/dmd/typeinfo/ti_ptr.d (deleted)
- druntime/src/compiler/dmd/typeinfo/ti_real.d (deleted)
- druntime/src/compiler/dmd/typeinfo/ti_short.d (deleted)
- druntime/src/compiler/dmd/typeinfo/ti_ubyte.d (deleted)
- druntime/src/compiler/dmd/typeinfo/ti_uint.d (deleted)
- druntime/src/compiler/dmd/typeinfo/ti_ulong.d (deleted)
- druntime/src/compiler/dmd/typeinfo/ti_ushort.d (deleted)
- druntime/src/compiler/dmd/typeinfo/ti_void.d (deleted)
- druntime/src/compiler/dmd/typeinfo/ti_wchar.d (deleted)
- druntime/src/compiler/dmd/util/console.d (deleted)
- druntime/src/compiler/dmd/util/cpuid.d (deleted)
- druntime/src/compiler/dmd/util/ctype.d (deleted)
- druntime/src/compiler/dmd/util/string.d (deleted)
- druntime/src/compiler/dmd/util/utf.d (deleted)
- druntime/src/compiler/dmd/win32.mak (deleted)
- druntime/src/compiler/ldc/aApply.d (deleted)
- druntime/src/compiler/ldc/aApplyR.d (deleted)
- druntime/src/compiler/ldc/aaA.d (deleted)
- druntime/src/compiler/ldc/adi.d (deleted)
- druntime/src/compiler/ldc/arrayInit.d (deleted)
- druntime/src/compiler/ldc/cast.d (deleted)
- druntime/src/compiler/ldc/critical.c (deleted)
- druntime/src/compiler/ldc/dmain2.d (deleted)
- druntime/src/compiler/ldc/eh.d (deleted)
- druntime/src/compiler/ldc/genobj.d (deleted)
- druntime/src/compiler/ldc/invariant.d (deleted)
- druntime/src/compiler/ldc/ldc.mak (deleted)
- druntime/src/compiler/ldc/ldc/bitmanip.d (deleted)
- druntime/src/compiler/ldc/ldc/vararg.d (deleted)
- druntime/src/compiler/ldc/lifetime.d (deleted)
- druntime/src/compiler/ldc/mars.h (deleted)
- druntime/src/compiler/ldc/memory.d (deleted)
- druntime/src/compiler/ldc/monitor.c (deleted)
- druntime/src/compiler/ldc/qsort2.d (deleted)
- druntime/src/compiler/ldc/switch.d (deleted)
- druntime/src/compiler/ldc/typeinfo/ti_AC.d (deleted)
- druntime/src/compiler/ldc/typeinfo/ti_Acdouble.d (deleted)
- druntime/src/compiler/ldc/typeinfo/ti_Acfloat.d (deleted)
- druntime/src/compiler/ldc/typeinfo/ti_Acreal.d (deleted)
- druntime/src/compiler/ldc/typeinfo/ti_Adouble.d (deleted)
- druntime/src/compiler/ldc/typeinfo/ti_Afloat.d (deleted)
- druntime/src/compiler/ldc/typeinfo/ti_Ag.d (deleted)
- druntime/src/compiler/ldc/typeinfo/ti_Aint.d (deleted)
- druntime/src/compiler/ldc/typeinfo/ti_Along.d (deleted)
- druntime/src/compiler/ldc/typeinfo/ti_Areal.d (deleted)
- druntime/src/compiler/ldc/typeinfo/ti_Ashort.d (deleted)
- druntime/src/compiler/ldc/typeinfo/ti_C.d (deleted)
- druntime/src/compiler/ldc/typeinfo/ti_byte.d (deleted)
- druntime/src/compiler/ldc/typeinfo/ti_cdouble.d (deleted)
- druntime/src/compiler/ldc/typeinfo/ti_cfloat.d (deleted)
- druntime/src/compiler/ldc/typeinfo/ti_char.d (deleted)
- druntime/src/compiler/ldc/typeinfo/ti_creal.d (deleted)
- druntime/src/compiler/ldc/typeinfo/ti_dchar.d (deleted)
- druntime/src/compiler/ldc/typeinfo/ti_delegate.d (deleted)
- druntime/src/compiler/ldc/typeinfo/ti_double.d (deleted)
- druntime/src/compiler/ldc/typeinfo/ti_float.d (deleted)
- druntime/src/compiler/ldc/typeinfo/ti_idouble.d (deleted)
- druntime/src/compiler/ldc/typeinfo/ti_ifloat.d (deleted)
- druntime/src/compiler/ldc/typeinfo/ti_int.d (deleted)
- druntime/src/compiler/ldc/typeinfo/ti_ireal.d (deleted)
- druntime/src/compiler/ldc/typeinfo/ti_long.d (deleted)
- druntime/src/compiler/ldc/typeinfo/ti_ptr.d (deleted)
- druntime/src/compiler/ldc/typeinfo/ti_real.d (deleted)
- druntime/src/compiler/ldc/typeinfo/ti_short.d (deleted)
- druntime/src/compiler/ldc/typeinfo/ti_ubyte.d (deleted)
- druntime/src/compiler/ldc/typeinfo/ti_uint.d (deleted)
- druntime/src/compiler/ldc/typeinfo/ti_ulong.d (deleted)
- druntime/src/compiler/ldc/typeinfo/ti_ushort.d (deleted)
- druntime/src/compiler/ldc/typeinfo/ti_void.d (deleted)
- druntime/src/compiler/ldc/typeinfo/ti_wchar.d (deleted)
- druntime/src/compiler/ldc/util/console.d (deleted)
- druntime/src/compiler/ldc/util/ctype.d (deleted)
- druntime/src/compiler/ldc/util/string.d (deleted)
- druntime/src/compiler/ldc/util/utf.d (deleted)
- druntime/src/dmd-posix.mak (deleted)
- druntime/src/dmd-win32.mak (deleted)
- druntime/src/dmd.conf (deleted)
- druntime/src/gc/basic/gc.d (deleted)
- druntime/src/gc/basic/gcalloc.d (deleted)
- druntime/src/gc/basic/gcbits.d (deleted)
- druntime/src/gc/basic/gcstats.d (deleted)
- druntime/src/gc/basic/gcx.d (deleted)
- druntime/src/gc/basic/ldc.mak (deleted)
- druntime/src/gc/basic/posix.mak (deleted)
- druntime/src/gc/basic/win32.mak (deleted)
- druntime/src/gc/stub/gc.d (deleted)
- druntime/src/gc/stub/ldc.mak (deleted)
- druntime/src/gc/stub/posix.mak (deleted)
- druntime/src/gc/stub/win32.mak (deleted)
- druntime/src/ldc-gcc.mak (deleted)
- druntime/src/ldc2.conf (deleted)
- druntime/src/sc.ini (deleted)
- gen/toir.cpp (modified) (1 diff)
- gen/toobj.cpp (modified) (2 diffs)
- gen/typinf.cpp (modified) (1 diff)
- runtime/README (modified) (2 diffs)
- runtime/ldc2.diff (added)
- runtime/patch-druntime.sh (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
dmd2/mtype.c
r758 r763 2760 2760 arguments = new Expressions(); 2761 2761 arguments->push(e->addressOf(sc)); 2762 arguments->push(index->getTypeInfo(sc)); // LDC, we don't support the getInternalTypeInfo 2763 // optimization arbitrarily, not yet at least... 2762 arguments->push(index->getInternalTypeInfo(sc)); 2764 2763 e = new CallExp(e->loc, ec, arguments); 2765 2764 e->type = this; gen/toir.cpp
r758 r763 59 59 if (VarDeclaration* vd = var->isVarDeclaration()) 60 60 { 61 Logger::println("VarDeclaration %s", vd->toChars());61 Logger::println("VarDeclaration ' %s ' of type ' %s '", vd->toChars(), vd->type->toChars()); 62 62 63 63 // _arguments gen/toobj.cpp
r758 r763 1004 1004 else 1005 1005 { 1006 #if DMDV2 1006 #if DMDV2 1007 #if 0 1007 1008 if (!ir.irField) 1008 1009 { … … 1012 1013 } 1013 1014 #endif 1014 // assert(ir.irField != 0); 1015 #else 1016 assert(ir.irField != 0); 1017 #endif 1015 1018 } 1016 1019 Logger::println("VarDeclaration::toObjFile is done"); gen/typinf.cpp
r761 r763 231 231 int TypeBasic::builtinTypeInfo() 232 232 { 233 return 1;233 return !mod; 234 234 } 235 235 236 236 int TypeDArray::builtinTypeInfo() 237 237 { 238 #if DMDV2 239 return !mod && next->isTypeBasic() != NULL && !next->mod; 240 #else 238 241 return next->isTypeBasic() != NULL; 242 #endif 239 243 } 240 244 runtime/README
r663 r763 1 FOR D1: 2 ======= 1 3 1) Do a checkout of tango trunk in the ldc root dir (along dmd, gen, runtime etc). 2 4 … … 10 12 11 13 * sh build.sh 14 15 FOR D2: 16 ======= 17 Highly experimental!!! 18 19 1) Do a checkout of druntime trunk in the ldc root dir (along dmd, gen, runtime etc). 20 21 * svn co http://svn.dsource.org/projects/druntime/trunk ../druntime 22 23 2) Patch druntime 24 25 * sh patch-druntime.sh 26 27 3) Compile druntime 28 29 * cd ../druntime/src 30 * sh build-ldc.sh 31 32 Enjoy!

