aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-08-18 18:34:00 +0000
committerChris Lattner <sabre@nondot.org>2005-08-18 18:34:00 +0000
commitf5fac3b4a6c41a2ea344a24c5f9ecc51cfca0723 (patch)
treec3566d56b8998056ce4dd1cf60afdb4afe7ea20d
parent58dfb08319b1415637b36c16ce52d6424c254574 (diff)
remove some unused stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22866 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/PowerPC/PPCISelDAGToDAG.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/Target/PowerPC/PPCISelDAGToDAG.cpp b/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
index 5320595795..8f8fa70093 100644
--- a/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
+++ b/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
@@ -35,20 +35,10 @@ namespace {
class PPC32DAGToDAGISel : public SelectionDAGISel {
PPC32TargetLowering PPC32Lowering;
- unsigned GlobalBaseReg;
- bool GlobalBaseInitialized;
public:
PPC32DAGToDAGISel(TargetMachine &TM)
: SelectionDAGISel(PPC32Lowering), PPC32Lowering(TM) {}
- /// runOnFunction - Override this function in order to reset our
- /// per-function variables.
- virtual bool runOnFunction(Function &Fn) {
- // Make sure we re-emit a set of the global base reg if necessary
- GlobalBaseInitialized = false;
- return SelectionDAGISel::runOnFunction(Fn);
- }
-
/// getI32Imm - Return a target constant with the specified value, of type
/// i32.
inline SDOperand getI32Imm(unsigned Imm) {