Remove DMDV1 and DMDV2.

This commit is contained in:
kai
2013-03-05 18:37:09 +01:00
parent 10e7276058
commit 1e4a8fffc2
40 changed files with 8 additions and 981 deletions

View File

@@ -359,12 +359,7 @@ GarbageCollect2Stack::GarbageCollect2Stack()
: FunctionPass(ID),
AllocMemoryT(0, true, false),
NewArrayVT(0, true, false, false, 1),
#ifdef DMDV1
// _d_newarrayT returns just the void* ptr in the LDC D1 runtime.
NewArrayT(0, true, false, true, 1)
#else
NewArrayT(0, true, true, true, 1)
#endif
{
KnownFunctions["_d_allocmemoryT"] = &AllocMemoryT;
KnownFunctions["_d_newarrayvT"] = &NewArrayVT;