Mercurial > projects > ldc
diff gen/tollvm.cpp @ 723:55f6c2e454d7
Implemented correct parameter order according to x86-32 ABI documentation.
Changed AA types to just a void* .
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Sat, 25 Oct 2008 06:03:28 +0200 |
parents | 7261ff0f95ff |
children | 4ac97ec7c18e |
line wrap: on
line diff
--- a/gen/tollvm.cpp Thu Oct 23 19:42:55 2008 +0200 +++ b/gen/tollvm.cpp Sat Oct 25 06:03:28 2008 +0200 @@ -163,11 +163,15 @@ // 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