summaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/LowerAllocations.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-05-02 04:24:36 +0000
committerChris Lattner <sabre@nondot.org>2006-05-02 04:24:36 +0000
commitb3674e475389b72939bf90965790d63e9fa24b95 (patch)
tree132036db20f9fe0b772c95c1d3090c9ea6d9b486 /lib/Transforms/Utils/LowerAllocations.cpp
parent51b776d25915ca7fbfc14578ff479352a772da06 (diff)
downloadllvm-b3674e475389b72939bf90965790d63e9fa24b95.tar.gz
llvm-b3674e475389b72939bf90965790d63e9fa24b95.tar.bz2
llvm-b3674e475389b72939bf90965790d63e9fa24b95.tar.xz
Add pass ID's for various passes, so they can be AddRequiredID. Patch by
Domagoj Babic! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28048 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/LowerAllocations.cpp')
-rw-r--r--lib/Transforms/Utils/LowerAllocations.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Transforms/Utils/LowerAllocations.cpp b/lib/Transforms/Utils/LowerAllocations.cpp
index f1721b3e58..0a6dc09147 100644
--- a/lib/Transforms/Utils/LowerAllocations.cpp
+++ b/lib/Transforms/Utils/LowerAllocations.cpp
@@ -60,6 +60,8 @@ namespace {
X("lowerallocs", "Lower allocations from instructions to calls");
}
+// Publically exposed interface to pass...
+const PassInfo *llvm::LowerAllocationsID = X.getPassInfo();
// createLowerAllocationsPass - Interface to this file...
FunctionPass *llvm::createLowerAllocationsPass(bool LowerMallocArgToInteger) {
return new LowerAllocations(LowerMallocArgToInteger);