diff options
Diffstat (limited to 'llvm/lib/Transforms/Utils/LowerAllocations.cpp')
| -rw-r--r-- | llvm/lib/Transforms/Utils/LowerAllocations.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/LowerAllocations.cpp b/llvm/lib/Transforms/Utils/LowerAllocations.cpp index edce5e144c7..f65a716711b 100644 --- a/llvm/lib/Transforms/Utils/LowerAllocations.cpp +++ b/llvm/lib/Transforms/Utils/LowerAllocations.cpp @@ -73,7 +73,7 @@ static RegisterPass<LowerAllocations> X("lowerallocs", "Lower allocations from instructions to calls"); // Publically exposed interface to pass... -const PassInfo *llvm::LowerAllocationsID = X.getPassInfo(); +const PassInfo *const llvm::LowerAllocationsID = &X; // createLowerAllocationsPass - Interface to this file... Pass *llvm::createLowerAllocationsPass(bool LowerMallocArgToInteger) { return new LowerAllocations(LowerMallocArgToInteger); |

