add tag to ins in cfg
This commit is contained in:
parent
812640bd4a
commit
00c6c06945
1 changed files with 2 additions and 2 deletions
|
|
@ -247,8 +247,8 @@ impl<'a> MethodCFG<'a> {
|
|||
format!("{{\\< {block_name} \\>}}")
|
||||
} else {
|
||||
let mut label = format!("{{\\< {block_name} \\>:\\l\\\n");
|
||||
for ins in node.code_block {
|
||||
label += "|";
|
||||
for (i, ins) in node.code_block.iter().enumerate() {
|
||||
label += &format!("|<i{i}>");
|
||||
label += ins
|
||||
.__str__()
|
||||
.replace(" ", "\\ ")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue