mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-29 22:50:47 +00:00
Don't print two "0x" prefixes. Use a raw_ostream overload instead of llvm::format.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112479 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
37ce5650e6
commit
033927408e
@ -22,7 +22,6 @@
|
||||
#include "llvm/Support/Debug.h"
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
#include "llvm/Support/InstIterator.h"
|
||||
#include "llvm/Support/Format.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
using namespace llvm;
|
||||
|
||||
@ -518,7 +517,7 @@ void AliasSetTracker::copyValue(Value *From, Value *To) {
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
void AliasSet::print(raw_ostream &OS) const {
|
||||
OS << " AliasSet[" << format("0x%p", (void*)this) << "," << RefCount << "] ";
|
||||
OS << " AliasSet[" << (void*)this << ", " << RefCount << "] ";
|
||||
OS << (AliasTy == MustAlias ? "must" : "may") << " alias, ";
|
||||
switch (AccessTy) {
|
||||
case NoModRef: OS << "No access "; break;
|
||||
|
Loading…
Reference in New Issue
Block a user