Remove dead variable.
authorChris Lattner <sabre@nondot.org>
Mon, 21 Jan 2002 22:44:57 +0000 (22:44 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 21 Jan 2002 22:44:57 +0000 (22:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1514 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/SparcV9/SparcV9InstrSelection.cpp

index c20c65a5cea81c6f89aab1f00c37a17d08437e98..91792a4076229a660c7de93d08eeb13331032554 100644 (file)
@@ -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);