llvm.org GIT mirror llvm / 15b3567
BranchProbability::print returns void now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135994 91177308-0d34-0410-b5e6-96231b3b80d8 Jakub Staszak 9 years ago
2 changed file(s) with 2 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
3939 return BranchProbability(D - N, D);
4040 }
4141
42 raw_ostream &print(raw_ostream &OS) const;
42 void print(raw_ostream &OS) const;
4343
4444 void dump() const;
4545 };
2323 D = d;
2424 }
2525
26 raw_ostream &BranchProbability::print(raw_ostream &OS) const {
26 void BranchProbability::print(raw_ostream &OS) const {
2727 OS << N << " / " << D << " = " << ((double)N / D);
28 return OS;
2928 }
3029
3130 void BranchProbability::dump() const {