mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 16:55:11 +01:00
Remove some redundant cgen funk fields
This commit is contained in:
1 parent
5a43e931f9
commit
2434f0dee5
2 files changed
+17
-21
No files matched your search
@@ -324,7 +324,7 @@ func (g *gen) writeStatementJump(b *buffer, n *a.Jump, depth uint32) error {
|
||||
func (g *gen) writeStatementRet(b *buffer, n *a.Ret, depth uint32) error {
|
||||
retExpr := n.Value()
|
||||
|
||||
if g.currFunk.suspendible {
|
||||
if g.currFunk.astFunc.Effect().Coroutine() {
|
||||
isError, isOK := false, false
|
||||
b.writes("status = ")
|
||||
if retExpr.Operator() == 0 && retExpr.Ident() == t.IDOk {
|
||||
|
||||
Reference in new issue
Block a user