Fixed one error with chars.
This commit is contained in:
parent
51f23d7f6e
commit
5a7332f3a8
1 changed files with 1 additions and 1 deletions
|
|
@ -370,7 +370,7 @@ preludeFuns def (Ident xs) arg1 arg2
|
|||
| "$langle$" `isPrefixOf` xs = pure $ Icmp LLSlt I8 arg1 arg2
|
||||
| "$minus$" `isPrefixOf` xs = pure $ Sub I64 arg1 arg2
|
||||
| "printChar$" `isPrefixOf` xs = pure . UnsafeRaw $
|
||||
"call i32 (ptr, ...) @printf(ptr noundef @.char_print_no_nl, i8 noundef " <> toIr arg1 <> ")\n"
|
||||
"add i16 0,0\n call i32 (ptr, ...) @printf(ptr noundef @.char_print_no_nl, i8 noundef " <> toIr arg1 <> ")\n"
|
||||
--char_print_no_nl
|
||||
| otherwise = pure def
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue