harec

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

commit c3cb347529f031b0e3fc441e76aab1e91e75dc1a
parent 3f25a95aaaf84e6d5340c0b983a74fddf3bec12a
Author: Drew DeVault <sir@cmpwn.com>
Date:   Thu, 14 Jan 2021 09:56:01 -0500

type store: add architeture note

We'll have to use a modified hashing procedure for 32-bit systems.

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

diff --git a/src/type_store.c b/src/type_store.c @@ -291,6 +291,7 @@ builtin_type_for_storage(enum type_storage storage, bool is_const) static uint64_t type_hash(struct type_store *store, const struct type *type) { + // XXX: ARCH uint64_t hash = FNV1A_INIT; hash = fnv1a(hash, type->storage); hash = fnv1a(hash, type->flags);