Eliminate RegisterAnalysis. RegisterPass now does all that is necessary.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29921 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2006-08-27 22:30:17 +00:00
parent 2dd3d423aa
commit 5d8925c7c5
22 changed files with 52 additions and 59 deletions

View File

@ -55,8 +55,8 @@ namespace {
};
RegisterAnalysis<InstCount> X("instcount",
"Counts the various types of Instructions");
RegisterPass<InstCount> X("instcount",
"Counts the various types of Instructions");
}
FunctionPass *llvm::createInstCountPass() { return new InstCount(); }