OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71a1872
)
Remove some dead code, identified by coverity.
author
Chris Lattner
<sabre@nondot.org>
Mon, 15 May 2006 05:48:32 +0000
(
05:48
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Mon, 15 May 2006 05:48:32 +0000
(
05:48
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28303
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCAsmPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCAsmPrinter.cpp
b/lib/Target/PowerPC/PPCAsmPrinter.cpp
index
e578a11
..
8d520e7
100644
(file)
--- a/
lib/Target/PowerPC/PPCAsmPrinter.cpp
+++ b/
lib/Target/PowerPC/PPCAsmPrinter.cpp
@@
-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();