[block-freq] Update BlockFrequencyInfo/MachineBlockFrequencyInfo to use the new print methods.

llvm-svn: 197289
This commit is contained in:
Michael Gottesman 2013-12-14 00:25:42 +00:00
parent 9b762a4c61
commit e0d2feab9b
2 changed files with 2 additions and 2 deletions

View File

@ -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();

View File

@ -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();