comparison gen/classes.h @ 209:c4c9b4ac021b trunk

[svn r225] Fixed: delete expressions no longer use llvm's free instruction, which crashes on a GC provided pointer.
author lindquist
date Wed, 14 May 2008 01:22:40 +0200
parents 44a95ac7368a
children 1d6cfdbc97f0
comparison
equal deleted inserted replaced
208:086e1aa99557 209:c4c9b4ac021b
26 26
27 DValue* DtoNewClass(TypeClass* type, NewExp* newexp); 27 DValue* DtoNewClass(TypeClass* type, NewExp* newexp);
28 void DtoInitClass(TypeClass* tc, llvm::Value* dst); 28 void DtoInitClass(TypeClass* tc, llvm::Value* dst);
29 DValue* DtoCallClassCtor(TypeClass* type, CtorDeclaration* ctor, Array* arguments, llvm::Value* mem); 29 DValue* DtoCallClassCtor(TypeClass* type, CtorDeclaration* ctor, Array* arguments, llvm::Value* mem);
30 void DtoCallClassDtors(TypeClass* tc, llvm::Value* instance); 30 void DtoCallClassDtors(TypeClass* tc, llvm::Value* instance);
31 void DtoFinalizeClass(llvm::Value* inst);
31 32
32 DValue* DtoCastClass(DValue* val, Type* to); 33 DValue* DtoCastClass(DValue* val, Type* to);
33 DValue* DtoDynamicCastObject(DValue* val, Type* to); 34 DValue* DtoDynamicCastObject(DValue* val, Type* to);
34 35
35 DValue* DtoCastInterfaceToObject(DValue* val, Type* to); 36 DValue* DtoCastInterfaceToObject(DValue* val, Type* to);