mirror of
https://github.com/Noratrieb/uwucc.git
synced 2026-01-16 01:25:07 +01:00
build
This commit is contained in:
parent
8bf9849641
commit
d3846e3357
5 changed files with 265 additions and 133 deletions
|
|
@ -123,6 +123,22 @@ impl<W: Write> PrettyPrinter<W> {
|
|||
print_reg(reg),
|
||||
print_op(amount)
|
||||
),
|
||||
StatementKind::Call {
|
||||
result,
|
||||
func,
|
||||
ref args,
|
||||
} => {
|
||||
writeln!(
|
||||
self.out,
|
||||
" {} = call {} ({})",
|
||||
print_reg(result),
|
||||
print_op(func),
|
||||
args.iter()
|
||||
.map(|arg| print_op(*arg).to_string())
|
||||
.collect::<Vec<_>>()
|
||||
.join(", ")
|
||||
)
|
||||
}
|
||||
}?;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue