From b3674e475389b72939bf90965790d63e9fa24b95 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 2 May 2006 04:24:36 +0000 Subject: 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 --- lib/Transforms/Utils/LowerAllocations.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/Transforms/Utils/LowerAllocations.cpp') 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); -- cgit v1.2.3