mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
[block-freq] Update BlockFrequencyInfo/MachineBlockFrequencyInfo to use the new print methods.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197289 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9bd42e3fab
commit
b8c5cfb130
@ -86,7 +86,7 @@ struct DOTGraphTraits<BlockFrequencyInfo*> : public DefaultDOTGraphTraits {
|
||||
OS << Node->getName().str() << ":";
|
||||
switch (ViewBlockFreqPropagationDAG) {
|
||||
case GVDT_Fraction:
|
||||
Graph->getBlockFreq(Node).print(OS);
|
||||
Graph->printBlockFreq(OS, Node);
|
||||
break;
|
||||
case GVDT_Integer:
|
||||
OS << Graph->getBlockFreq(Node).getFrequency();
|
||||
|
@ -91,7 +91,7 @@ struct DOTGraphTraits<MachineBlockFrequencyInfo*> :
|
||||
OS << Node->getName().str() << ":";
|
||||
switch (ViewMachineBlockFreqPropagationDAG) {
|
||||
case GVDT_Fraction:
|
||||
Graph->getBlockFreq(Node).print(OS);
|
||||
Graph->printBlockFreq(OS, Node);
|
||||
break;
|
||||
case GVDT_Integer:
|
||||
OS << Graph->getBlockFreq(Node).getFrequency();
|
||||
|
Loading…
Reference in New Issue
Block a user