summaryrefslogtreecommitdiff
path: root/zjit
diff options
context:
space:
mode:
authorMax Bernstein <max.bernstein@shopify.com>2025-02-06 16:33:16 -0500
committerTakashi Kokubun <takashikkbn@gmail.com>2025-04-18 21:52:57 +0900
commita113df0cede23b37176a4ff179d54c451e05abd1 (patch)
treecaa905f772f108c72a46b65dfd725321b879793c /zjit
parente19ccddb9bc9fb2fc037f51ee64e1fb8eb1f04db (diff)
Adjust the format of Send
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/13131
Diffstat (limited to 'zjit')
-rw-r--r--zjit/src/ir.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/zjit/src/ir.rs b/zjit/src/ir.rs
index ce0409eda2..0f72b18bac 100644
--- a/zjit/src/ir.rs
+++ b/zjit/src/ir.rs
@@ -151,7 +151,7 @@ impl std::fmt::Display for Function {
Insn::IfFalse { val, target } => { write!(f, "IfFalse {val}, {target}")?; }
Insn::Return { val } => { write!(f, "Return {val}")?; }
Insn::Send { self_val, call_info, args } => {
- write!(f, "Send {self_val}, {}", call_info.name)?;
+ write!(f, "Send {self_val}, :{}", call_info.name)?;
for arg in args {
write!(f, ", {arg}")?;
}