summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-04-14 20:05:00 +0000
committerDan Gohman <gohman@apple.com>2010-04-14 20:05:00 +0000
commita3918ecdf5f1deac6199ab94849c4c8f40aceba0 (patch)
tree80004a4820814a856697220b6a34be4787eebe9e /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
parent280e1ee0ae44f161971539ad6ab965169b932ae9 (diff)
downloadbcm5719-llvm-a3918ecdf5f1deac6199ab94849c4c8f40aceba0.tar.gz
bcm5719-llvm-a3918ecdf5f1deac6199ab94849c4c8f40aceba0.zip
Delete unused arguments.
llvm-svn: 101275
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index 4321236c44e..b6a56b68e00 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/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)) {
OpenPOWER on IntegriCloud