mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-20 16:47:28 +01:00
Fix suspending copy_from32.
This commit is contained in:
1 parent
e7873b5ca4
commit
a3302ff1e5
3 files changed
+69
-2
No files matched your search
@@ -908,7 +908,7 @@ func (g *gen) writeCallSuspendibles(n *a.Expr, depth uint32) error {
|
||||
g.printf("memmove(%swptr_%s, %srptr_%s, %s%d);\n", bPrefix, wName, bPrefix, rName, tPrefix, temp)
|
||||
g.printf("%swptr_%s += %s%d;\n", bPrefix, wName, tPrefix, temp)
|
||||
g.printf("%srptr_%s += %s%d;\n", bPrefix, rName, tPrefix, temp)
|
||||
g.printf("if (status) { self->private_impl.scratch = %s%d; goto suspend; }\n", tPrefix, temp)
|
||||
g.printf("if (status) { self->private_impl.scratch -= %s%d; goto suspend; }\n", tPrefix, temp)
|
||||
|
||||
g.writes("}\n")
|
||||
|
||||
|
||||
Reference in new issue
Block a user