projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MachineInstr: Remove unused parameter.
[oota-llvm.git]
/
lib
/
CodeGen
/
DeadMachineInstructionElim.cpp
diff --git
a/lib/CodeGen/DeadMachineInstructionElim.cpp
b/lib/CodeGen/DeadMachineInstructionElim.cpp
index c17a35d1c73458f060bba871dba13d1023a37cd9..963d573ea7f055e78cfb44b39cdcd0adf2e8d320 100644
(file)
--- a/
lib/CodeGen/DeadMachineInstructionElim.cpp
+++ b/
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.