diff options
author | Matthias Braun <matze@braunis.de> | 2015-05-19 21:22:20 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2015-05-19 21:22:20 +0000 |
commit | 07066cca20ca8569f4e6b9ebeca62cb747022303 (patch) | |
tree | 65ff92e948f15290a51b744ecb219dffe9915a0a /llvm/lib/CodeGen/LiveRangeEdit.cpp | |
parent | 1cdd948f5bd4792f0cff03a0431d8cd9cf06c697 (diff) | |
download | bcm5719-llvm-07066cca20ca8569f4e6b9ebeca62cb747022303.tar.gz bcm5719-llvm-07066cca20ca8569f4e6b9ebeca62cb747022303.zip |
MachineInstr: Remove unused parameter.
llvm-svn: 237726
Diffstat (limited to 'llvm/lib/CodeGen/LiveRangeEdit.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveRangeEdit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/LiveRangeEdit.cpp b/llvm/lib/CodeGen/LiveRangeEdit.cpp index 0edc897dc31..27c57d5f302 100644 --- a/llvm/lib/CodeGen/LiveRangeEdit.cpp +++ b/llvm/lib/CodeGen/LiveRangeEdit.cpp @@ -196,7 +196,7 @@ bool LiveRangeEdit::foldAsLoad(LiveInterval *LI, // We also need to make sure it is safe to move the load. // Assume there are stores between DefMI and UseMI. bool SawStore = true; - if (!DefMI->isSafeToMove(&TII, nullptr, SawStore)) + if (!DefMI->isSafeToMove(nullptr, SawStore)) return false; DEBUG(dbgs() << "Try to fold single def: " << *DefMI @@ -235,7 +235,7 @@ void LiveRangeEdit::eliminateDeadDef(MachineInstr *MI, ToShrinkSet &ToShrink) { // Use the same criteria as DeadMachineInstructionElim. bool SawStore = false; - if (!MI->isSafeToMove(&TII, nullptr, SawStore)) { + if (!MI->isSafeToMove(nullptr, SawStore)) { DEBUG(dbgs() << "Can't delete: " << Idx << '\t' << *MI); return; } |