diff options
author | Dan Gohman <gohman@apple.com> | 2008-05-20 01:14:05 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-05-20 01:14:05 +0000 |
commit | d717761a2b0d41e260940a75f8b3097402d0b498 (patch) | |
tree | b4844fb4408c9360b267a87dd6b23d7ea805b2af | |
parent | cd2e772d0815f3fbe56c0f3d283a4045ba4c1f25 (diff) | |
download | bcm5719-llvm-d717761a2b0d41e260940a75f8b3097402d0b498.tar.gz bcm5719-llvm-d717761a2b0d41e260940a75f8b3097402d0b498.zip |
Make AssociativeOpt static.
llvm-svn: 51290
-rw-r--r-- | llvm/lib/Transforms/Scalar/InstructionCombining.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp index 41e528a5a5a..82d9fa87432 100644 --- a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp @@ -2212,7 +2212,7 @@ unsigned InstCombiner::ComputeNumSignBits(Value *V, unsigned Depth) const{ /// '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); |