mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-23 04:09:02 +02:00
Emit new TypeInfo layout.
Includes untested support for RTInfo.
This commit is contained in:
@@ -121,6 +121,11 @@ void RTTIBuilder::push_size(uint64_t s)
|
||||
inits.push_back(DtoConstSize_t(s));
|
||||
}
|
||||
|
||||
void RTTIBuilder::push_size_as_vp(uint64_t s)
|
||||
{
|
||||
inits.push_back(llvm::ConstantExpr::getIntToPtr(DtoConstSize_t(s), getVoidPtrType()));
|
||||
}
|
||||
|
||||
void RTTIBuilder::push_funcptr(FuncDeclaration* fd, Type* castto)
|
||||
{
|
||||
if (fd)
|
||||
|
||||
Reference in New Issue
Block a user