tweak reg resolution repr
This commit is contained in:
parent
a02329f7de
commit
03be7a6350
1 changed files with 15 additions and 0 deletions
|
|
@ -122,6 +122,21 @@ impl MethodCFG<'_> {
|
||||||
}
|
}
|
||||||
|
|
||||||
dot_string += "}\n";
|
dot_string += "}\n";
|
||||||
|
dot_string += "\n";
|
||||||
|
for (i, node) in self.nodes.iter().enumerate() {
|
||||||
|
for ins in node.code_block {
|
||||||
|
if let Instruction::Label { name } = ins {
|
||||||
|
dot_string += &format!(
|
||||||
|
" cluster_{}:node_{}:s -> cluster_reg_types_{}:node_{}:n \
|
||||||
|
[style=\"solid,bold\",color=grey,weight=10,constraint=true];\n",
|
||||||
|
self.method.descriptor.__str__(),
|
||||||
|
i,
|
||||||
|
self.method.descriptor.__str__(),
|
||||||
|
name
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
dot_string
|
dot_string
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue