mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-26 20:26:07 +00:00
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
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user