From 941334f0b01d2019212c12b386f1201ca9cecddd Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Thu, 5 Jan 2006 00:26:14 +0000 Subject: [PATCH] Remove some dead code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25102 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Sparc/SparcISelDAGToDAG.cpp | 4 ---- lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp | 4 ---- 2 files changed, 8 deletions(-) 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)) -- 2.34.1