Move the pass initialization helper functions into the llvm namespace, and add

a header declaring them all.  This is also where we will declare per-library pass-set
initializer functions down the road.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115900 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Owen Anderson
2010-10-07 04:13:08 +00:00
parent 5a50ceeaea
commit 71802344fc
4 changed files with 17 additions and 16 deletions

View File

@@ -48,11 +48,10 @@ namespace {
};
char InstNamer::ID = 0;
INITIALIZE_PASS(InstNamer, "instnamer",
"Assign names to anonymous instructions", false, false);
}
INITIALIZE_PASS(InstNamer, "instnamer",
"Assign names to anonymous instructions", false, false);
char &llvm::InstructionNamerID = InstNamer::ID;
//===----------------------------------------------------------------------===//
//