comparison gen/tollvm.c @ 52:0c77619e803b trunk

[svn r56] Initial support for TypeInfo. Enums not work. Several other bugfixes.
author lindquist
date Tue, 23 Oct 2007 05:55:12 +0200
parents 61bc1b4ad3c4
children 06ccc817acd4
comparison
equal deleted inserted replaced
51:61bc1b4ad3c4 52:0c77619e803b
159 return t->llvmType; 159 return t->llvmType;
160 } 160 }
161 } 161 }
162 162
163 // typedefs 163 // typedefs
164 // enum
164 case Ttypedef: 165 case Ttypedef:
166 case Tenum:
165 { 167 {
166 Type* bt = t->toBasetype(); 168 Type* bt = t->toBasetype();
167 assert(bt); 169 assert(bt);
168 return LLVM_DtoType(bt); 170 return LLVM_DtoType(bt);
169 } 171 }