remove redundant foward declaration. This function is already in

Analysis/Passes.h



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86765 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-11-11 00:21:21 +00:00
parent 2f105c6e18
commit 68cf6042c1
2 changed files with 4 additions and 6 deletions

View File

@ -94,10 +94,6 @@ public:
bool isKilledInBlock(const Value *V, const BasicBlock *BB);
};
/// createLiveValuesPass - This creates an instance of the LiveValues pass.
///
FunctionPass *createLiveValuesPass();
}
} // end namespace llvm
#endif

View File

@ -17,7 +17,9 @@
#include "llvm/Analysis/LoopInfo.h"
using namespace llvm;
FunctionPass *llvm::createLiveValuesPass() { return new LiveValues(); }
namespace llvm {
FunctionPass *createLiveValuesPass() { return new LiveValues(); }
}
char LiveValues::ID = 0;
static RegisterPass<LiveValues>