diff options
| author | Max Bernstein <ruby@bernsteinbear.com> | 2025-08-25 16:15:47 -0400 |
|---|---|---|
| committer | Max Bernstein <tekknolagi@gmail.com> | 2025-08-26 14:26:20 -0700 |
| commit | a1a244db7c6f5937edb58e4c7ccfb8e1eb617aec (patch) | |
| tree | 67964d2a2a67d6063c1e148abed8f65ee18f310b | |
| parent | d133ae9ca6861e979b2508b46b38da0afc579038 (diff) | |
ZJIT: Graphviz point to top of params
| -rw-r--r-- | zjit/src/hir.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zjit/src/hir.rs b/zjit/src/hir.rs index af8740578b..4125341d98 100644 --- a/zjit/src/hir.rs +++ b/zjit/src/hir.rs @@ -2498,7 +2498,7 @@ impl<'a> std::fmt::Display for FunctionGraphvizPrinter<'a> { } writeln!(f, "</TABLE>>];")?; for (src, dst) in edges { - writeln!(f, " {block_id}:{src} -> {dst}:params;")?; + writeln!(f, " {block_id}:{src} -> {dst}:params:n;")?; } } writeln!(f, "}}") @@ -5674,7 +5674,7 @@ mod graphviz_tests { <TR><TD ALIGN="left" PORT="v9">CheckInterrupts </TD></TR> <TR><TD ALIGN="left" PORT="v10">Return v7 </TD></TR> </TABLE>>]; - bb0:v6 -> bb1:params; + bb0:v6 -> bb1:params:n; bb1 [label=<<TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0"> <TR><TD ALIGN="LEFT" PORT="params" BGCOLOR="gray">bb1(v11:BasicObject, v12:BasicObject) </TD></TR> <TR><TD ALIGN="left" PORT="v14">v14:Fixnum[4] = Const Value(4) </TD></TR> |
