diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-23 01:03:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-23 01:03:30 +0000 |
commit | 0c08a932968f2f6c85e06cde043e675b57500f11 (patch) | |
tree | 8cbe57d4116f7684b6ee9d58f3554f4f477c8c06 /lib/CodeGen | |
parent | 1514e998df9eca5b6dab7552e247197ba69f4187 (diff) | |
download | external_llvm-0c08a932968f2f6c85e06cde043e675b57500f11.zip external_llvm-0c08a932968f2f6c85e06cde043e675b57500f11.tar.gz external_llvm-0c08a932968f2f6c85e06cde043e675b57500f11.tar.bz2 |
remove some dead print method variants.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79801 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/MachineVerifier.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/CodeGen/MachineVerifier.cpp b/lib/CodeGen/MachineVerifier.cpp index eb9ef95..238f905 100644 --- a/lib/CodeGen/MachineVerifier.cpp +++ b/lib/CodeGen/MachineVerifier.cpp @@ -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"; } |