Skip to content

Commit 0459e38

Browse files
committed
rt: Align mallocs to 16 byte boundaries
1 parent 42b13c1 commit 0459e38

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rt/memory_region.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class memory_region {
1919
uint32_t magic;
2020
int index;
2121
const char *tag;
22+
uint32_t pad; // To stay 16 byte aligned.
2223
char data[];
2324
};
2425

0 commit comments

Comments
 (0)