mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-20 02:39:02 +02:00
Remove DMDV1 and DMDV2.
This commit is contained in:
@@ -202,12 +202,10 @@ LLType* DtoType(Type* t)
|
||||
case Taarray:
|
||||
return getVoidPtrType();
|
||||
|
||||
#if DMDV2
|
||||
case Tvector:
|
||||
{
|
||||
return IrTypeVector::get(t)->getLLType();
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
Not needed atm as VarDecls for tuples are rewritten as a string of
|
||||
@@ -1036,11 +1034,7 @@ LLStructType* DtoModuleReferenceType()
|
||||
// add members
|
||||
LLType *types[] = {
|
||||
getPtrToType(st),
|
||||
#if DMDV1
|
||||
DtoType(Module::moduleinfo->type)
|
||||
#else
|
||||
DtoType(Module::moduleinfo->type->pointerTo())
|
||||
#endif
|
||||
};
|
||||
|
||||
// resolve type
|
||||
|
||||
Reference in New Issue
Block a user