mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
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:
@ -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";
|
||||
}
|
||||
|
Reference in New Issue
Block a user