BranchProbability::print returns void now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135994 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jakub Staszak 2011-07-25 22:27:42 +00:00
parent ed4b4272ba
commit 15b35677d0
2 changed files with 2 additions and 3 deletions

View File

@ -40,7 +40,7 @@ public:
return BranchProbability(D - N, D); return BranchProbability(D - N, D);
} }
raw_ostream &print(raw_ostream &OS) const; void print(raw_ostream &OS) const;
void dump() const; void dump() const;
}; };

View File

@ -24,9 +24,8 @@ BranchProbability::BranchProbability(uint32_t n, uint32_t d) {
D = d; D = d;
} }
raw_ostream &BranchProbability::print(raw_ostream &OS) const { void BranchProbability::print(raw_ostream &OS) const {
OS << N << " / " << D << " = " << ((double)N / D); OS << N << " / " << D << " = " << ((double)N / D);
return OS;
} }
void BranchProbability::dump() const { void BranchProbability::dump() const {