Rename some built-in func's arg from x to a

This commit is contained in:
Nigel Tao committed 2019-09-28 14:22:48 +10:00
1 parent 851b7561d9
commit 2819fb8e3f
4 files changed
+55 -57

No files matched your search

+2 -2
View File
@@ -99,7 +99,7 @@ pri func decoder.decode_huffman_fast!(dst base.io_writer, src base.io_reader) ba
if (table_entry >> 31) <> 0 {
// Literal.
args.dst.write_fast_u8!(x:((table_entry >> 8) & 0xFF) as base.u8)
args.dst.write_fast_u8!(a:((table_entry >> 8) & 0xFF) as base.u8)
continue:loop
} else if (table_entry >> 30) <> 0 {
// No-op; code continues past the if-else chain.
@@ -137,7 +137,7 @@ pri func decoder.decode_huffman_fast!(dst base.io_writer, src base.io_reader) ba
if (table_entry >> 31) <> 0 {
// Literal.
args.dst.write_fast_u8!(x:((table_entry >> 8) & 0xFF) as base.u8)
args.dst.write_fast_u8!(a:((table_entry >> 8) & 0xFF) as base.u8)
continue:loop
} else if (table_entry >> 30) <> 0 {
// No-op; code continues past the if-else chain.
+2 -2
View File
@@ -66,7 +66,7 @@ pri func decoder.decode_huffman_slow?(dst base.io_writer, src base.io_reader) {
if (table_entry >> 31) <> 0 {
// Literal.
args.dst.write_u8?(x:((table_entry >> 8) & 0xFF) as base.u8)
args.dst.write_u8?(a:((table_entry >> 8) & 0xFF) as base.u8)
continue:loop
} else if (table_entry >> 30) <> 0 {
// No-op; code continues past the if-else chain.
@@ -94,7 +94,7 @@ pri func decoder.decode_huffman_slow?(dst base.io_writer, src base.io_reader) {
if (table_entry >> 31) <> 0 {
// Literal.
args.dst.write_u8?(x:((table_entry >> 8) & 0xFF) as base.u8)
args.dst.write_u8?(a:((table_entry >> 8) & 0xFF) as base.u8)
continue:loop
} else if (table_entry >> 30) <> 0 {
// No-op; code continues past the if-else chain.