mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-11 21:57:55 +00:00
MachineVerifier: MI::print has no TargetMachine overload
The code was passing a target machine pointer which degraded to a true operand to SkipOppers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252550 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
806e686676
commit
e5351a1797
@ -424,7 +424,7 @@ void MachineVerifier::report(const char *msg, const MachineInstr *MI) {
|
||||
errs() << "- instruction: ";
|
||||
if (Indexes && Indexes->hasIndex(MI))
|
||||
errs() << Indexes->getInstructionIndex(MI) << '\t';
|
||||
MI->print(errs(), TM);
|
||||
MI->print(errs(), /*SkipOpers=*/true);
|
||||
}
|
||||
|
||||
void MachineVerifier::report(const char *msg,
|
||||
|
Loading…
Reference in New Issue
Block a user