harec

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 98260e9fdb61d6d4bdc9df615af344c3883c5647
parent dd20e124ba75f0ec864546db61deb658ca31800e
Author: Mykyta Holubakha <hilobakho@gmail.com>
Date:   Sun, 14 Mar 2021 01:10:23 +0200

type_store: drop extra offset alignment assert

Diffstat:
Msrc/type_store.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/src/type_store.c b/src/type_store.c @@ -175,7 +175,6 @@ struct_insert_field(struct type_store *store, struct struct_field **fields, } size_t offs = (size_t)out.constant.uval; field->offset = offs; - assert(offs % field->type->align == 0); // TODO? } else { size_t offs = *size; if (offs % field->type->align) {