aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-01-21 22:44:57 +0000
committerChris Lattner <sabre@nondot.org>2002-01-21 22:44:57 +0000
commitd4b051135c0f4f3a81d82dc7578ed8f776a348ea (patch)
tree87bd4691273c850aba35b7a2a373f63a55f1fa3b /lib
parent7012bcd61b249c87f027d97747f51a1c86cc96d0 (diff)
Remove dead variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1514 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/SparcV9/SparcV9InstrSelection.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Target/SparcV9/SparcV9InstrSelection.cpp b/lib/Target/SparcV9/SparcV9InstrSelection.cpp
index c20c65a5ce..91792a4076 100644
--- a/lib/Target/SparcV9/SparcV9InstrSelection.cpp
+++ b/lib/Target/SparcV9/SparcV9InstrSelection.cpp
@@ -1147,7 +1147,6 @@ GetInstructionsByRule(InstructionNode* subtreeRoot,
ReturnInst *returnInstr =
cast<ReturnInst>(subtreeRoot->getInstruction());
assert(returnInstr->getOpcode() == Instruction::Ret);
- Method* method = returnInstr->getParent()->getParent();
Instruction* returnReg = new TmpInstruction(TMP_INSTRUCTION_OPCODE,
returnInstr, NULL);