comparison gen/classes.h @ 1434:5d0c043ff131

Remove code duplication for vtable loads and improve instruction naming to make bitcode with virtual calls easier to read.
author Frits van Bommel <fvbommel wxs.nl>
date Sat, 30 May 2009 13:04:49 +0200
parents 79758fd2f48a
children
comparison
equal deleted inserted replaced
1433:f79971a45bee 1434:5d0c043ff131
30 DValue* DtoCastInterfaceToObject(DValue* val, Type* to); 30 DValue* DtoCastInterfaceToObject(DValue* val, Type* to);
31 DValue* DtoDynamicCastInterface(DValue* val, Type* to); 31 DValue* DtoDynamicCastInterface(DValue* val, Type* to);
32 32
33 LLValue* DtoIndexClass(LLValue* src, ClassDeclaration* sd, VarDeclaration* vd); 33 LLValue* DtoIndexClass(LLValue* src, ClassDeclaration* sd, VarDeclaration* vd);
34 34
35 LLValue* DtoVirtualFunctionPointer(DValue* inst, FuncDeclaration* fdecl); 35 LLValue* DtoVirtualFunctionPointer(DValue* inst, FuncDeclaration* fdecl, char* name);
36 36
37 #endif 37 #endif