From: Evan Cheng Date: Thu, 5 Jan 2006 00:26:14 +0000 (+0000) Subject: Remove some dead code. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=941334f0b01d2019212c12b386f1201ca9cecddd;p=oota-llvm.git Remove some dead code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25102 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Sparc/SparcISelDAGToDAG.cpp b/lib/Target/Sparc/SparcISelDAGToDAG.cpp index 8c7465f4ed6..6c93a26f24e 100644 --- a/lib/Target/Sparc/SparcISelDAGToDAG.cpp +++ b/lib/Target/Sparc/SparcISelDAGToDAG.cpp @@ -476,10 +476,6 @@ SparcV8TargetLowering::LowerCallTo(SDOperand Chain, const Type *RetTy, InFlag = Chain.getValue(1); } - std::vector RetVals; - RetVals.push_back(MVT::Other); - RetVals.push_back(MVT::Flag); - // If the callee is a GlobalAddress node (quite common, every direct call is) // turn it into a TargetGlobalAddress node so that legalize doesn't hack it. if (GlobalAddressSDNode *G = dyn_cast(Callee)) diff --git a/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp b/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp index 8c7465f4ed6..6c93a26f24e 100644 --- a/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp +++ b/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp @@ -476,10 +476,6 @@ SparcV8TargetLowering::LowerCallTo(SDOperand Chain, const Type *RetTy, InFlag = Chain.getValue(1); } - std::vector RetVals; - RetVals.push_back(MVT::Other); - RetVals.push_back(MVT::Flag); - // If the callee is a GlobalAddress node (quite common, every direct call is) // turn it into a TargetGlobalAddress node so that legalize doesn't hack it. if (GlobalAddressSDNode *G = dyn_cast(Callee))