remove some dead print method variants.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79801 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2009-08-23 01:03:30 +00:00
parent b01acfae5b
commit 372fefe8d2
3 changed files with 2 additions and 13 deletions

View File

@ -232,13 +232,11 @@ MachineVerifier::runOnMachineFunction(MachineFunction &MF)
return false; // no changes
}
void
MachineVerifier::report(const char *msg, const MachineFunction *MF)
{
void MachineVerifier::report(const char *msg, const MachineFunction *MF) {
assert(MF);
*OS << "\n";
if (!foundErrors++)
MF->print(OS);
MF->print(*OS);
*OS << "*** Bad machine code: " << msg << " ***\n"
<< "- function: " << MF->getFunction()->getNameStr() << "\n";
}