mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Remove the 'printname' argument to WriteAsOperand. It is always true, and
passing false would make the asmprinter fail anyway. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32264 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -80,8 +80,8 @@ static inline void PrintResults(const char *Msg, bool P, Value *V1, Value *V2,
|
||||
Module *M) {
|
||||
if (P) {
|
||||
llvm_cerr << " " << Msg << ":\t";
|
||||
WriteAsOperand(std::cerr, V1, true, true, M) << ", ";
|
||||
WriteAsOperand(std::cerr, V2, true, true, M) << "\n";
|
||||
WriteAsOperand(std::cerr, V1, true, M) << ", ";
|
||||
WriteAsOperand(std::cerr, V2, true, M) << "\n";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -90,7 +90,7 @@ PrintModRefResults(const char *Msg, bool P, Instruction *I, Value *Ptr,
|
||||
Module *M) {
|
||||
if (P) {
|
||||
llvm_cerr << " " << Msg << ": Ptr: ";
|
||||
WriteAsOperand(std::cerr, Ptr, true, true, M);
|
||||
WriteAsOperand(std::cerr, Ptr, true, M);
|
||||
llvm_cerr << "\t<->" << *I;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user