Make AssociativeOpt static.

llvm-svn: 51290
This commit is contained in:
Dan Gohman 2008-05-20 01:14:05 +00:00
parent cd2e772d08
commit d717761a2b
1 changed files with 1 additions and 1 deletions

View File

@ -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);