Mercurial > projects > ldc
comparison gen/classes.h @ 705:5a2983f97498
Fixed weird struct problem from downs, see mini/compile_structs1.d
Rewrote DtoIndexStruct/Class , the old implementation were way too complex for what we really need now - since the DotVar changes.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Tue, 14 Oct 2008 15:35:49 +0200 |
parents | eef8ac26c66c |
children | 79758fd2f48a |
comparison
equal
deleted
inserted
replaced
704:43165a082535 | 705:5a2983f97498 |
---|---|
35 DValue* DtoDynamicCastObject(DValue* val, Type* to); | 35 DValue* DtoDynamicCastObject(DValue* val, Type* to); |
36 | 36 |
37 DValue* DtoCastInterfaceToObject(DValue* val, Type* to); | 37 DValue* DtoCastInterfaceToObject(DValue* val, Type* to); |
38 DValue* DtoDynamicCastInterface(DValue* val, Type* to); | 38 DValue* DtoDynamicCastInterface(DValue* val, Type* to); |
39 | 39 |
40 LLValue* DtoIndexClass(LLValue* ptr, ClassDeclaration* cd, Type* t, unsigned os, DStructIndexVector& idxs); | 40 LLValue* DtoIndexClass(LLValue* src, ClassDeclaration* sd, VarDeclaration* vd); |
41 | 41 |
42 LLValue* DtoVirtualFunctionPointer(DValue* inst, FuncDeclaration* fdecl); | 42 LLValue* DtoVirtualFunctionPointer(DValue* inst, FuncDeclaration* fdecl); |
43 | 43 |
44 #endif | 44 #endif |