switch to using 32-bit offsets for leaf records over the pointers

This commit is contained in:
Nikita Smith committed 2026-02-15 23:11:51 -08:00
1 parent 09e37a6a2e
commit 76213ec5cd
10 files changed
+347 -321

No files matched your search

+6
View File
@@ -288,6 +288,12 @@ memory_is_zero(void *ptr, U64 size)
return result;
}
internal void UBSAN_NO_ALIGN
memory_write16(void *ptr, U16 v)
{
MemoryCopy(ptr, &v, sizeof(v));
}
internal void UBSAN_NO_ALIGN
memory_write32(void *ptr, U32 v)
{
+1
View File
@@ -1009,6 +1009,7 @@ internal F32 sign_from_side_F32(Side side);
internal B32 memory_is_zero(void *ptr, U64 size);
internal void memory_write16(void *ptr, U16 v);
internal void memory_write32(void *ptr, U32 v);
internal U8 memory_read8(void *ptr);