commit d4282c9f9b3e1fe348fbd66c09fd2f0accd1b327 parent 565ce1c45b783b7a97003c867d3528a055268c37 Author: Drew DeVault <sir@cmpwn.com> Date: Fri, 25 Dec 2020 11:02:51 -0500 qinstr: allocate alignments of 1 and 2 as 4 Diffstat:
M | src/qinstr.c | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/qinstr.c b/src/qinstr.c @@ -7,6 +7,8 @@ enum qbe_instr alloc_for_align(size_t align) { switch (align) { + case 1: + case 2: case 4: return Q_ALLOC4; case 8: