diff options
author | Dan Gohman <gohman@apple.com> | 2010-04-14 20:05:00 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-04-14 20:05:00 +0000 |
commit | 6a732b5a669c85505a5785ee7ccb72eb9d1a4e6d (patch) | |
tree | 2b0e022182f2ca5a38ab1e449c4cb2f784f3429a /lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | 2520864773dcb73d76d297605f4bc41c0cf3fa39 (diff) |
Delete unused arguments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101275 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 4321236c44..b6a56b68e0 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -210,7 +210,7 @@ bool SelectionDAGISel::runOnMachineFunction(MachineFunction &mf) { FuncInfo->set(Fn, *MF, EnableFastISel); SDB->init(GFI, *AA); - SelectAllBasicBlocks(Fn, *MF, TII); + SelectAllBasicBlocks(Fn); // Release function-specific state. SDB and CurDAG are already cleared // at this point. @@ -744,13 +744,11 @@ void SelectionDAGISel::PrepareEHLandingPad(MachineBasicBlock *BB) { } } -void SelectionDAGISel::SelectAllBasicBlocks(Function &Fn, - MachineFunction &MF, - const TargetInstrInfo &TII) { +void SelectionDAGISel::SelectAllBasicBlocks(Function &Fn) { // Initialize the Fast-ISel state, if needed. FastISel *FastIS = 0; if (EnableFastISel) - FastIS = TLI.createFastISel(MF, FuncInfo->ValueMap, FuncInfo->MBBMap, + FastIS = TLI.createFastISel(*MF, FuncInfo->ValueMap, FuncInfo->MBBMap, FuncInfo->StaticAllocaMap #ifndef NDEBUG , FuncInfo->CatchInfoLost @@ -817,7 +815,7 @@ void SelectionDAGISel::SelectAllBasicBlocks(Function &Fn, break; } - SetDebugLoc(BI, SDB, FastIS, &MF); + SetDebugLoc(BI, SDB, FastIS, MF); // Try to select the instruction with FastISel. if (FastIS->SelectInstruction(BI)) { |