diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-11-11 00:21:21 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-11-11 00:21:21 +0000 |
| commit | c4e03b7ac79da5b2ee64956e52c727770c7dbbf1 (patch) | |
| tree | bf5d0cbff69036da8bde663851516c03c49c3b6b /llvm | |
| parent | caef2448daacb1eb16ac70aca78224d85a109e2c (diff) | |
| download | bcm5719-llvm-c4e03b7ac79da5b2ee64956e52c727770c7dbbf1.tar.gz bcm5719-llvm-c4e03b7ac79da5b2ee64956e52c727770c7dbbf1.zip | |
remove redundant foward declaration. This function is already in
Analysis/Passes.h
llvm-svn: 86765
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/Analysis/LiveValues.h | 6 | ||||
| -rw-r--r-- | llvm/lib/Analysis/LiveValues.cpp | 4 |
2 files changed, 4 insertions, 6 deletions
diff --git a/llvm/include/llvm/Analysis/LiveValues.h b/llvm/include/llvm/Analysis/LiveValues.h index 31b00d73dd2..b92cb7833a7 100644 --- a/llvm/include/llvm/Analysis/LiveValues.h +++ b/llvm/include/llvm/Analysis/LiveValues.h @@ -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 diff --git a/llvm/lib/Analysis/LiveValues.cpp b/llvm/lib/Analysis/LiveValues.cpp index 2bbe98aa5c2..02ec7d318ac 100644 --- a/llvm/lib/Analysis/LiveValues.cpp +++ b/llvm/lib/Analysis/LiveValues.cpp @@ -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> |

