Mercurial > projects > ldc
comparison gen/rttibuilder.h @ 1375:63f4afd01036
Cleaned up TypeInfo_Struct.
Fixed problem with DtoConstSize_t taking a size_t argument, this is not enough for cross compiling from 32bit host to a 64bit target. It now takes uint64_t. There's probably a lot of similar case around to code ...
author | Tomas Lindquist Olsen <tomas.l.olsen gmail com> |
---|---|
date | Sun, 17 May 2009 04:41:10 +0200 |
parents | e630ff79e10d |
children | a5d0e04298a8 |
comparison
equal
deleted
inserted
replaced
1374:e630ff79e10d | 1375:63f4afd01036 |
---|---|
20 | 20 |
21 TypeInfoBuilder(ClassDeclaration* base_class); | 21 TypeInfoBuilder(ClassDeclaration* base_class); |
22 | 22 |
23 void push(llvm::Constant* C); | 23 void push(llvm::Constant* C); |
24 void push_null_vp(); | 24 void push_null_vp(); |
25 void push_null_void_array(); | |
26 void push_uint(unsigned u); | |
27 void push_size(uint64_t s); | |
28 void push_string(const char* str); | |
25 void push_typeinfo(Type* t); | 29 void push_typeinfo(Type* t); |
26 void push_classinfo(ClassDeclaration* cd); | 30 void push_classinfo(ClassDeclaration* cd); |
27 void push_string(const char* str); | 31 void push_funcptr(FuncDeclaration* fd); |
28 void push_null_void_array(); | |
29 void push_void_array(size_t dim, llvm::Constant* ptr); | 32 void push_void_array(size_t dim, llvm::Constant* ptr); |
30 void push_void_array(llvm::Constant* CI, Type* valtype, Dsymbol* sym); | 33 void push_void_array(llvm::Constant* CI, Type* valtype, Dsymbol* sym); |
34 | |
35 /// Creates the initializer constant and assigns it to the global. | |
31 void finalize(IrGlobal* tid); | 36 void finalize(IrGlobal* tid); |
32 }; | 37 }; |
33 | 38 |
34 #endif | 39 #endif |