projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't use random class variables across functions
[oota-llvm.git]
/
lib
/
CodeGen
/
MIRPrinter.cpp
diff --git
a/lib/CodeGen/MIRPrinter.cpp
b/lib/CodeGen/MIRPrinter.cpp
index 0be7807064fb411de0303fa85bcaea5bc743dfce..175cb0d51437aa84b4cec13c36ad6245d607384e 100644
(file)
--- a/
lib/CodeGen/MIRPrinter.cpp
+++ b/
lib/CodeGen/MIRPrinter.cpp
@@
-461,8
+461,8
@@
void MIPrinter::print(const MachineBasicBlock &MBB) {
if (I != MBB.succ_begin())
OS << ", ";
printMBBReference(**I);
if (I != MBB.succ_begin())
OS << ", ";
printMBBReference(**I);
- if (MBB.hasSuccessor
Weight
s())
- OS << '(' << MBB.getSucc
Weight
(I) << ')';
+ if (MBB.hasSuccessor
Probabilitie
s())
+ OS << '(' << MBB.getSucc
Probability
(I) << ')';
}
OS << "\n";
HasLineAttributes = true;
}
OS << "\n";
HasLineAttributes = true;