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} \\>}}")
|
format!("{{\\< {block_name} \\>}}")
|
||||||
} else {
|
} else {
|
||||||
let mut label = format!("{{\\< {block_name} \\>:\\l\\\n");
|
let mut label = format!("{{\\< {block_name} \\>:\\l\\\n");
|
||||||
for ins in node.code_block {
|
for (i, ins) in node.code_block.iter().enumerate() {
|
||||||
label += "|";
|
label += &format!("|<i{i}>");
|
||||||
label += ins
|
label += ins
|
||||||
.__str__()
|
.__str__()
|
||||||
.replace(" ", "\\ ")
|
.replace(" ", "\\ ")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue