diff options
| author | Owen Anderson <resistor@mac.com> | 2010-10-07 04:13:08 +0000 |
|---|---|---|
| committer | Owen Anderson <resistor@mac.com> | 2010-10-07 04:13:08 +0000 |
| commit | 96ee36be86738b7ab7b674fc4820f62614552341 (patch) | |
| tree | dd6cb671c0f1fb2cfa5cc92900291995616b1c01 /lib/Transforms | |
| parent | f8910dbd30406c3856931522b09fa87aeb515549 (diff) | |
| download | external_llvm-96ee36be86738b7ab7b674fc4820f62614552341.zip external_llvm-96ee36be86738b7ab7b674fc4820f62614552341.tar.gz external_llvm-96ee36be86738b7ab7b674fc4820f62614552341.tar.bz2 | |
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
Diffstat (limited to 'lib/Transforms')
| -rw-r--r-- | lib/Transforms/Utils/InstructionNamer.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Transforms/Utils/InstructionNamer.cpp b/lib/Transforms/Utils/InstructionNamer.cpp index 5ca8299..522439c 100644 --- a/lib/Transforms/Utils/InstructionNamer.cpp +++ b/lib/Transforms/Utils/InstructionNamer.cpp @@ -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; //===----------------------------------------------------------------------===// // |
