mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-23 12:40:17 +00:00
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:
parent
71a1872451
commit
f1d2337be1
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user