aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/InstructionNamer.cpp
diff options
context:
space:
mode:
authorTorok Edwin <edwintorok@gmail.com>2008-10-27 10:16:27 +0000
committerTorok Edwin <edwintorok@gmail.com>2008-10-27 10:16:27 +0000
commit3d54502304bcc421b37881b225bf95c9a6024264 (patch)
tree26b8c9b52030ad2892b2e8c137cac1c6e16e0852 /lib/Transforms/Utils/InstructionNamer.cpp
parent741748afcee9ccbffb1822a2464aa242e2d652e4 (diff)
export an ID for the instructionNamer, allowing analysis/transformation passes
that need it to require it by ID. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58238 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/InstructionNamer.cpp')
-rw-r--r--lib/Transforms/Utils/InstructionNamer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Transforms/Utils/InstructionNamer.cpp b/lib/Transforms/Utils/InstructionNamer.cpp
index f0e77c99ce..aa29788af8 100644
--- a/lib/Transforms/Utils/InstructionNamer.cpp
+++ b/lib/Transforms/Utils/InstructionNamer.cpp
@@ -40,6 +40,7 @@ namespace {
}
+const PassInfo *const llvm::InstructionNamerID = &X;
//===----------------------------------------------------------------------===//
//
// InstructionNamer - Give any unnamed non-void instructions "tmp" names.