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 | 75f4045867c1e5e2f58603e7d0035587bde01d8e (patch) | |
| tree | 88210e9ecc8236310117768ba3cf64ebb3487d1a /llvm/lib/CodeGen | |
| parent | 7472571531663b35d253274b397659db422716af (diff) | |
| download | bcm5719-llvm-75f4045867c1e5e2f58603e7d0035587bde01d8e.tar.gz bcm5719-llvm-75f4045867c1e5e2f58603e7d0035587bde01d8e.zip | |
remove some dead print method variants.
llvm-svn: 79801
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/MachineVerifier.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/MachineVerifier.cpp b/llvm/lib/CodeGen/MachineVerifier.cpp index eb9ef954750..238f90568fc 100644 --- a/llvm/lib/CodeGen/MachineVerifier.cpp +++ b/llvm/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"; } |

