From: Matthias Braun Date: Mon, 9 Nov 2015 23:59:25 +0000 (+0000) Subject: MachineVerifier: MI::print has no TargetMachine overload X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e5351a1797350b061228d2eb44c7e9d7272d7cb1;p=oota-llvm.git 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 --- diff --git a/lib/CodeGen/MachineVerifier.cpp b/lib/CodeGen/MachineVerifier.cpp index e291ea52aa4..3904a69b31a 100644 --- a/lib/CodeGen/MachineVerifier.cpp +++ b/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,