aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSanjiv Gupta <sanjiv.gupta@microchip.com>2009-06-04 15:16:24 +0000
committerSanjiv Gupta <sanjiv.gupta@microchip.com>2009-06-04 15:16:24 +0000
commit82f1d1b5721a581b03d04d2b3c54fac7d3b69783 (patch)
treeb9995b0444c4f946ad94cd3cbb22c8e8c9717739
parent76941b273316eca4559c05ef34bfc88f13db64f1 (diff)
downloadexternal_llvm-82f1d1b5721a581b03d04d2b3c54fac7d3b69783.zip
external_llvm-82f1d1b5721a581b03d04d2b3c54fac7d3b69783.tar.gz
external_llvm-82f1d1b5721a581b03d04d2b3c54fac7d3b69783.tar.bz2
Remove unused code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72866 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/PIC16/PIC16ISelLowering.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/Target/PIC16/PIC16ISelLowering.cpp b/lib/Target/PIC16/PIC16ISelLowering.cpp
index d9d387a..4343fbe 100644
--- a/lib/Target/PIC16/PIC16ISelLowering.cpp
+++ b/lib/Target/PIC16/PIC16ISelLowering.cpp
@@ -355,21 +355,11 @@ SDValue PIC16TargetLowering::ExpandFrameIndex(SDNode *N, SelectionDAG &DAG) {
FrameIndexSDNode *FR = dyn_cast<FrameIndexSDNode>(SDValue(N,0));
// FIXME there isn't really debug info here
DebugLoc dl = FR->getDebugLoc();
- // FIXME: Not used.
- // int Index = FR->getIndex();
// Expand FrameIndex like GlobalAddress and ExternalSymbol
// Also use Offset field for lo and hi parts. The default
// offset is zero.
- /*
- SDValue Offset = DAG.getConstant(0, MVT::i8);
- SDValue FI = DAG.getTargetFrameIndex(Index, MVT::i8);
- SDValue Lo = DAG.getNode(PIC16ISD::Lo, dl, MVT::i8, FI, Offset);
- SDValue Hi = DAG.getNode(PIC16ISD::Hi, dl, MVT::i8, FI, Offset);
- return DAG.getNode(ISD::BUILD_PAIR, dl, N->getValueType(0), Lo, Hi);
- */
-
SDValue ES;
int FrameOffset;
SDValue FI = SDValue(N,0);