diff options
author | Chris Lattner <sabre@nondot.org> | 2002-05-21 20:04:50 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-05-21 20:04:50 +0000 |
commit | 76ae3445f81164aaff9f95123426109c119f27c0 (patch) | |
tree | afc0553f492bf1b19f2a2f5269ecdc1223907a63 /include/llvm/Transforms/Utils | |
parent | b8bcb086f7d4a74c40661c5c18134533a3f69fc9 (diff) | |
download | external_llvm-76ae3445f81164aaff9f95123426109c119f27c0.zip external_llvm-76ae3445f81164aaff9f95123426109c119f27c0.tar.gz external_llvm-76ae3445f81164aaff9f95123426109c119f27c0.tar.bz2 |
Simplify interface to ConstantFoldTerminator
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2697 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Utils')
-rw-r--r-- | include/llvm/Transforms/Utils/Local.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Transforms/Utils/Local.h b/include/llvm/Transforms/Utils/Local.h index a01cd06..ed8bbdf 100644 --- a/include/llvm/Transforms/Utils/Local.h +++ b/include/llvm/Transforms/Utils/Local.h @@ -25,8 +25,7 @@ bool doConstantPropogation(BasicBlock *BB, BasicBlock::iterator &I); // destination. This is a nontrivial operation because the successors of this // basic block must have their PHI nodes updated. // -bool ConstantFoldTerminator(BasicBlock *BB, BasicBlock::iterator &I, - TerminatorInst *T); +bool ConstantFoldTerminator(BasicBlock *BB); //===----------------------------------------------------------------------===// |