diff options
-rw-r--r-- | lib/Target/SparcV9/SparcV9InstrSelection.cpp | 1 |
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); |