mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-19 10:13:13 +00:00
BranchProbability::print returns void now.
llvm-svn: 135994
This commit is contained in:
parent
99fd6d41b5
commit
ddeb8772c8
@ -40,7 +40,7 @@ public:
|
||||
return BranchProbability(D - N, D);
|
||||
}
|
||||
|
||||
raw_ostream &print(raw_ostream &OS) const;
|
||||
void print(raw_ostream &OS) const;
|
||||
|
||||
void dump() const;
|
||||
};
|
||||
|
@ -24,9 +24,8 @@ BranchProbability::BranchProbability(uint32_t n, uint32_t d) {
|
||||
D = d;
|
||||
}
|
||||
|
||||
raw_ostream &BranchProbability::print(raw_ostream &OS) const {
|
||||
void BranchProbability::print(raw_ostream &OS) const {
|
||||
OS << N << " / " << D << " = " << ((double)N / D);
|
||||
return OS;
|
||||
}
|
||||
|
||||
void BranchProbability::dump() const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user