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/DeadMachineInstructionElim.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/DeadMachineInstructionElim.cpp')
-rw-r--r-- | llvm/lib/CodeGen/DeadMachineInstructionElim.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/DeadMachineInstructionElim.cpp b/llvm/lib/CodeGen/DeadMachineInstructionElim.cpp index c17a35d1c73..963d573ea7f 100644 --- a/llvm/lib/CodeGen/DeadMachineInstructionElim.cpp +++ b/llvm/lib/CodeGen/DeadMachineInstructionElim.cpp @@ -65,7 +65,7 @@ bool DeadMachineInstructionElim::isDead(const MachineInstr *MI) const { // Don't delete instructions with side effects. bool SawStore = false; - if (!MI->isSafeToMove(TII, nullptr, SawStore) && !MI->isPHI()) + if (!MI->isSafeToMove(nullptr, SawStore) && !MI->isPHI()) return false; // Examine each operand. |