summaryrefslogtreecommitdiffstats
path: root/lib/Target/Sparc
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-04-19 22:48:45 +0000
committerDan Gohman <gohman@apple.com>2010-04-19 22:48:45 +0000
commit1f65453d0a26d12a224f1380c71238f7b2d26e95 (patch)
treec5b2ddea95130bbe49d9fa2115b960ec4840626a /lib/Target/Sparc
parent99be8ae3898d87373ef0c8f1159b287e28a8d81b (diff)
downloadexternal_llvm-1f65453d0a26d12a224f1380c71238f7b2d26e95.zip
external_llvm-1f65453d0a26d12a224f1380c71238f7b2d26e95.tar.gz
external_llvm-1f65453d0a26d12a224f1380c71238f7b2d26e95.tar.bz2
Delete an unnecessary reference to SelectionDAGISel::BB.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101824 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc')
-rw-r--r--lib/Target/Sparc/SparcISelDAGToDAG.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Target/Sparc/SparcISelDAGToDAG.cpp b/lib/Target/Sparc/SparcISelDAGToDAG.cpp
index 1d1aef5..698923e 100644
--- a/lib/Target/Sparc/SparcISelDAGToDAG.cpp
+++ b/lib/Target/Sparc/SparcISelDAGToDAG.cpp
@@ -67,7 +67,6 @@ private:
} // end anonymous namespace
SDNode* SparcDAGToDAGISel::getGlobalBaseReg() {
- MachineFunction *MF = BB->getParent();
unsigned GlobalBaseReg = TM.getInstrInfo()->getGlobalBaseReg(MF);
return CurDAG->getRegister(GlobalBaseReg, TLI.getPointerTy()).getNode();
}