aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-05-19 21:22:20 +0000
committerMatthias Braun <matze@braunis.de>2015-05-19 21:22:20 +0000
commit07066cca20ca8569f4e6b9ebeca62cb747022303 (patch)
tree65ff92e948f15290a51b744ecb219dffe9915a0a /llvm/lib/CodeGen/MachineInstr.cpp
parent1cdd948f5bd4792f0cff03a0431d8cd9cf06c697 (diff)
downloadllvm-07066cca20ca8569f4e6b9ebeca62cb747022303.zip
llvm-07066cca20ca8569f4e6b9ebeca62cb747022303.tar.gz
llvm-07066cca20ca8569f4e6b9ebeca62cb747022303.tar.bz2
MachineInstr: Remove unused parameter.
llvm-svn: 237726
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineInstr.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp
index 3bb7fe1..205032f 100644
--- a/llvm/lib/CodeGen/MachineInstr.cpp
+++ b/llvm/lib/CodeGen/MachineInstr.cpp
@@ -1366,9 +1366,7 @@ void MachineInstr::substituteRegister(unsigned FromReg,
/// isSafeToMove - Return true if it is safe to move this instruction. If
/// SawStore is set to true, it means that there is a store (or call) between
/// the instruction's location and its intended destination.
-bool MachineInstr::isSafeToMove(const TargetInstrInfo *TII,
- AliasAnalysis *AA,
- bool &SawStore) const {
+bool MachineInstr::isSafeToMove(AliasAnalysis *AA, bool &SawStore) const {
// Ignore stuff that we obviously can't move.
//
// Treat volatile loads as stores. This is not strictly necessary for