mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 02:52:53 +02:00
remove redundant foward declaration. This function is already in
Analysis/Passes.h llvm-svn: 86765
This commit is contained in:
parent
eb421ea5de
commit
c60b41d336
@ -94,10 +94,6 @@ public:
|
|||||||
bool isKilledInBlock(const Value *V, const BasicBlock *BB);
|
bool isKilledInBlock(const Value *V, const BasicBlock *BB);
|
||||||
};
|
};
|
||||||
|
|
||||||
/// createLiveValuesPass - This creates an instance of the LiveValues pass.
|
} // end namespace llvm
|
||||||
///
|
|
||||||
FunctionPass *createLiveValuesPass();
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -17,7 +17,9 @@
|
|||||||
#include "llvm/Analysis/LoopInfo.h"
|
#include "llvm/Analysis/LoopInfo.h"
|
||||||
using namespace llvm;
|
using namespace llvm;
|
||||||
|
|
||||||
FunctionPass *llvm::createLiveValuesPass() { return new LiveValues(); }
|
namespace llvm {
|
||||||
|
FunctionPass *createLiveValuesPass() { return new LiveValues(); }
|
||||||
|
}
|
||||||
|
|
||||||
char LiveValues::ID = 0;
|
char LiveValues::ID = 0;
|
||||||
static RegisterPass<LiveValues>
|
static RegisterPass<LiveValues>
|
||||||
|
Loading…
Reference in New Issue
Block a user