mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
MachineVerifier: MI::print has no TargetMachine overload
The code was passing a target machine pointer which degraded to a true operand to SkipOppers. llvm-svn: 252550
This commit is contained in:
parent
8a14eebeb0
commit
a06515f6f6
@ -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