mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-15 12:23:13 +01:00
Store bools as i8.
I really hope we can refactor this to use a less leaky abstraction later – it should at least be possible to merge voidToI8 and i1ToI8.
This commit is contained in:
@@ -169,7 +169,7 @@ void IrTypeClass::addBaseClassData(
|
||||
}
|
||||
|
||||
// add default type
|
||||
defaultTypes.push_back(DtoType(vd->type));
|
||||
defaultTypes.push_back(DtoType(vd->type)); // @@@ i1ToI8?!
|
||||
|
||||
// advance offset to right past this field
|
||||
offset = vd->offset + vd->type->size();
|
||||
|
||||
Reference in New Issue
Block a user