summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineVerifier.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-11-09 23:59:25 +0000
committerMatthias Braun <matze@braunis.de>2015-11-09 23:59:25 +0000
commit45718db0a192316514cd3d18811e495a44727fb6 (patch)
treeb01241c2b8732e132871c04feb3c6fa1b28c4beb /llvm/lib/CodeGen/MachineVerifier.cpp
parent42b4b630569ced222b3ff4168d058eb4d82aa703 (diff)
downloadbcm5719-llvm-45718db0a192316514cd3d18811e495a44727fb6.tar.gz
bcm5719-llvm-45718db0a192316514cd3d18811e495a44727fb6.zip
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
Diffstat (limited to 'llvm/lib/CodeGen/MachineVerifier.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineVerifier.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineVerifier.cpp b/llvm/lib/CodeGen/MachineVerifier.cpp
index e291ea52aa4..3904a69b31a 100644
--- a/llvm/lib/CodeGen/MachineVerifier.cpp
+++ b/llvm/lib/CodeGen/MachineVerifier.cpp
@@ -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,
OpenPOWER on IntegriCloud