qbe

Internal scc patchset buffer for QBE
Log | Files | Refs | README | LICENSE

commit 8401139089ad8dfd1c8478e14a0cbf04572c42ce
parent ae23a3223f8f91aad898b73242ee9ec29ffabb11
Author: Michael Forney <mforney@mforney.org>
Date:   Sat, 25 Sep 2021 13:28:13 -0700

util: fix typo preventing 4-byte copy in blit()

Diffstat:
Mutil.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util.c b/util.c @@ -384,7 +384,7 @@ blit(Ref rdst, uint doff, Ref rsrc, uint sz, Fn *fn) { struct { int st, ld, cls, size; } *p, tbl[] = { { Ostorel, Oload, Kl, 8 }, - { Ostorew, Oload, Kw, 8 }, + { Ostorew, Oload, Kw, 4 }, { Ostoreh, Oloaduh, Kw, 2 }, { Ostoreb, Oloadub, Kw, 1 } };