commit | d8bcf5b88a4072416bdebc603a40d43f27bf13a7 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Tue May 20 01:14:05 2008 +0000 |
committer | Dan Gohman <gohman@apple.com> | Tue May 20 01:14:05 2008 +0000 |
tree | f4d68fdb6518d424083a8cbf93027445bbaaa2fa | |
parent | 33ae846533216624aa0fd6ec0b4119612915261f [diff] [blame] |
Make AssociativeOpt static. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51290 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Scalar/InstructionCombining.cpp b/lib/Transforms/Scalar/InstructionCombining.cpp index 41e528a..82d9fa8 100644 --- a/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/lib/Transforms/Scalar/InstructionCombining.cpp
@@ -2212,7 +2212,7 @@ /// 'shouldApply' and 'apply' methods. /// template<typename Functor> -Instruction *AssociativeOpt(BinaryOperator &Root, const Functor &F) { +static Instruction *AssociativeOpt(BinaryOperator &Root, const Functor &F) { unsigned Opcode = Root.getOpcode(); Value *LHS = Root.getOperand(0);