For PR387:\

Add doInitialization method to avoid overloaded virtuals

llvm-svn: 18602
This commit is contained in:
Reid Spencer 2004-12-07 08:11:36 +00:00
parent 5c132bc3af
commit 9273d480ad
1 changed files with 3 additions and 0 deletions

View File

@ -37,6 +37,9 @@ namespace {
/// a module contains a declaration for a malloc and a free function.
///
bool doInitialization(Module &M);
virtual bool doInitialization(Function&f)
{ return BasicBlockPass::doInitialization(f); }
/// runOnBasicBlock - This method does the actual work of converting
/// instructions over, assuming that the pass has already been initialized.