mirror of
https://github.com/RPCSX/llvm.git
synced 2025-04-18 08:00:02 +00:00
For PR387:\
Add doInitialization method to avoid overloaded virtuals git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18602 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4a7ebfa411
commit
791a959e57
@ -37,6 +37,9 @@ namespace {
|
|||||||
/// a module contains a declaration for a malloc and a free function.
|
/// a module contains a declaration for a malloc and a free function.
|
||||||
///
|
///
|
||||||
bool doInitialization(Module &M);
|
bool doInitialization(Module &M);
|
||||||
|
|
||||||
|
virtual bool doInitialization(Function&f)
|
||||||
|
{ return BasicBlockPass::doInitialization(f); }
|
||||||
|
|
||||||
/// runOnBasicBlock - This method does the actual work of converting
|
/// runOnBasicBlock - This method does the actual work of converting
|
||||||
/// instructions over, assuming that the pass has already been initialized.
|
/// instructions over, assuming that the pass has already been initialized.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user