Rename token_writer.write_fast_token

This commit is contained in:
Nigel Tao committed 2020-04-02 12:26:57 +11:00
1 parent 293b3c7812
commit 3456f39f9d
5 files changed
+67 -66

No files matched your search

+1 -1
View File
@@ -331,7 +331,7 @@ func (g *gen) writeBuiltinIOWriter(b *buffer, recv *a.Expr, method t.ID, args []
}
func (g *gen) writeBuiltinTokenWriter(b *buffer, recv *a.Expr, method t.ID, args []*a.Node, depth uint32) error {
if method == t.IDWriteFastToken {
if method == t.IDWriteSimpleTokenFast {
b.printf("*iop_a_dst++ = wuffs_base__make_token((((uint64_t)(")
if cv := args[0].AsArg().Value().ConstValue(); (cv == nil) || (cv.Sign() != 0) {