summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Transforms/Utils/Local.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Transforms/Utils/Local.h b/include/llvm/Transforms/Utils/Local.h
index ed8bbdf3c3..69bb5a66e4 100644
--- a/include/llvm/Transforms/Utils/Local.h
+++ b/include/llvm/Transforms/Utils/Local.h
@@ -18,7 +18,7 @@
// doConstantPropogation - Constant prop a specific instruction. Returns true
// and potentially moves the iterator if constant propogation was performed.
//
-bool doConstantPropogation(BasicBlock *BB, BasicBlock::iterator &I);
+bool doConstantPropogation(BasicBlock::iterator &I);
// ConstantFoldTerminator - If a terminator instruction is predicated on a
// constant value, convert it into an unconditional branch to the constant
@@ -42,7 +42,7 @@ bool isInstructionTriviallyDead(Instruction *I);
// isTriviallyDead. If so, remove the instruction and update the iterator to
// point to the instruction that immediately succeeded the original instruction.
//
-bool dceInstruction(BasicBlock::InstListType &BBIL, BasicBlock::iterator &BBI);
+bool dceInstruction(BasicBlock::iterator &BBI);
//===----------------------------------------------------------------------===//