printer: shorten text size when argsize is zero

This commit is contained in:
Michael McLoughlin
2018-12-27 13:48:31 -08:00
parent 9243d299e6
commit 5dea46407c
12 changed files with 158 additions and 35 deletions

View File

@@ -3,7 +3,7 @@
#include "textflag.h"
// func Hash(state *State, key []byte) uint64
TEXT ·Hash(SB),0,$0-40
TEXT ·Hash(SB), 0, $0-40
MOVQ state(FP), AX
MOVQ key_base+8(FP), CX
MOVQ key_len+16(FP), DX