Fix the way AliasSet::print prints "may alias".

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50051 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2008-04-21 19:48:48 +00:00
parent 037c781de7
commit 92c7b65c91

View File

@ -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;