ssa: fix builtin print

This commit is contained in:
visualfc
2024-05-20 12:42:37 +08:00
parent 27cfeefef1
commit 1a4ca389cd
7 changed files with 333 additions and 380 deletions

View File

@@ -30,6 +30,10 @@ func gwrite(b []byte) {
}
}
func PrintByte(v byte) {
c.Fprintf(c.Stderr, c.Str("%c"), v)
}
func PrintBool(v bool) {
if v {
PrintString("true")