Remove some dead code, identified by coverity.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28303 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-05-15 05:48:32 +00:00
parent 71a1872451
commit f1d2337be1

View File

@ -350,13 +350,7 @@ FunctionPass *llvm::createAIXAsmPrinter(std::ostream &o, PPCTargetMachine &tm) {
#include "PPCGenAsmWriter.inc"
void PPCAsmPrinter::printOp(const MachineOperand &MO) {
const MRegisterInfo &RI = *TM.getRegisterInfo();
int new_symbol;
switch (MO.getType()) {
O << RI.get(MO.getReg()).Name;
return;
case MachineOperand::MO_Immediate:
std::cerr << "printOp() does not handle immediate values\n";
abort();