Remove temporary coroSuspPoint numbering padding

This commit is contained in:
Nigel Tao committed 2018-12-27 16:48:43 +11:00
1 parent 28366f744f
commit 29c884dfcc
2 files changed
+48 -49

No files matched your search

-1
View File
@@ -583,7 +583,6 @@ func (g *gen) writeBuiltinQuestionCall(b *buffer, n *a.Expr, depth uint32) error
b.printf("iop_a_src++;\n")
return nil
}
g.currFunk.coroSuspPoint++ // TEMPORARY, in order to minimize the diff.
g.currFunk.usesScratch = true
// TODO: don't hard-code [0], and allow recursive coroutines.