Mercurial > projects > ldc
comparison gen/classes.h @ 133:44a95ac7368a trunk
[svn r137] Many fixes towards tango.io.Console working, but not quite there yet...
In particular, assertions has been fixed to include file/line info, and much more!
author | lindquist |
---|---|
date | Mon, 14 Jan 2008 05:11:54 +0100 |
parents | 1700239cab2e |
children | c4c9b4ac021b |
comparison
equal
deleted
inserted
replaced
132:1700239cab2e | 133:44a95ac7368a |
---|---|
22 void DtoDefineClass(ClassDeclaration* cd); | 22 void DtoDefineClass(ClassDeclaration* cd); |
23 | 23 |
24 void DtoDeclareClassInfo(ClassDeclaration* cd); | 24 void DtoDeclareClassInfo(ClassDeclaration* cd); |
25 void DtoDefineClassInfo(ClassDeclaration* cd); | 25 void DtoDefineClassInfo(ClassDeclaration* cd); |
26 | 26 |
27 DValue* DtoNewClass(TypeClass* type, NewExp* newexp); | |
28 void DtoInitClass(TypeClass* tc, llvm::Value* dst); | |
29 DValue* DtoCallClassCtor(TypeClass* type, CtorDeclaration* ctor, Array* arguments, llvm::Value* mem); | |
27 void DtoCallClassDtors(TypeClass* tc, llvm::Value* instance); | 30 void DtoCallClassDtors(TypeClass* tc, llvm::Value* instance); |
28 void DtoInitClass(TypeClass* tc, llvm::Value* dst); | |
29 | 31 |
30 DValue* DtoCastClass(DValue* val, Type* to); | 32 DValue* DtoCastClass(DValue* val, Type* to); |
31 DValue* DtoDynamicCastObject(DValue* val, Type* to); | 33 DValue* DtoDynamicCastObject(DValue* val, Type* to); |
34 | |
32 DValue* DtoCastInterfaceToObject(DValue* val, Type* to); | 35 DValue* DtoCastInterfaceToObject(DValue* val, Type* to); |
36 DValue* DtoDynamicCastInterface(DValue* val, Type* to); | |
33 | 37 |
34 llvm::Value* DtoIndexClass(llvm::Value* ptr, ClassDeclaration* cd, Type* t, unsigned os, std::vector<unsigned>& idxs); | 38 llvm::Value* DtoIndexClass(llvm::Value* ptr, ClassDeclaration* cd, Type* t, unsigned os, std::vector<unsigned>& idxs); |
35 | 39 |
40 llvm::Value* DtoVirtualFunctionPointer(DValue* inst, FuncDeclaration* fdecl); | |
41 | |
36 #endif | 42 #endif |