Refactor implementations

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12240 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2004-03-08 21:30:35 +00:00
parent 0f54bc7630
commit 62e84f376b
2 changed files with 3 additions and 10 deletions

View File

@@ -29,9 +29,7 @@ ProfileInfo::~ProfileInfo() {}
//
namespace {
struct NoProfileInfo : public ImmutablePass, public ProfileInfo {
unsigned getExecutionCount(BasicBlock *BB) { return 0; }
};
struct NoProfileInfo : public ImmutablePass, public ProfileInfo {};
// Register this pass...
RegisterOpt<NoProfileInfo>