forked from OSchip/llvm-project
Fix the way AliasSet::print prints "may alias".
llvm-svn: 50051
This commit is contained in:
parent
a054e99fa8
commit
79fff7cf85
|
@ -517,7 +517,7 @@ void AliasSetTracker::copyValue(Value *From, Value *To) {
|
||||||
|
|
||||||
void AliasSet::print(std::ostream &OS) const {
|
void AliasSet::print(std::ostream &OS) const {
|
||||||
OS << " AliasSet[" << (void*)this << "," << RefCount << "] ";
|
OS << " AliasSet[" << (void*)this << "," << RefCount << "] ";
|
||||||
OS << (AliasTy == MustAlias ? "must" : "may ") << " alias, ";
|
OS << (AliasTy == MustAlias ? "must" : "may") << " alias, ";
|
||||||
switch (AccessTy) {
|
switch (AccessTy) {
|
||||||
case NoModRef: OS << "No access "; break;
|
case NoModRef: OS << "No access "; break;
|
||||||
case Refs : OS << "Ref "; break;
|
case Refs : OS << "Ref "; break;
|
||||||
|
|
Loading…
Reference in New Issue