mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-11-30 20:54:19 +01:00
Implemented correct parameter order according to x86-32 ABI documentation.
Changed AA types to just a void* .
This commit is contained in:
@@ -163,11 +163,15 @@ const LLType* DtoType(Type* t)
|
||||
|
||||
// associative arrays
|
||||
case Taarray:
|
||||
#if 1
|
||||
return getVoidPtrType();
|
||||
#else
|
||||
{
|
||||
TypeAArray* taa = (TypeAArray*)t;
|
||||
// aa key/val can't be void
|
||||
return getPtrToType(LLStructType::get(DtoType(taa->key), DtoType(taa->next), 0));
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
Not needed atm as VarDecls for tuples are rewritten as a string of
|
||||
|
||||
Reference in New Issue
Block a user