mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 23:17:16 +00:00
PassInfo keep tracks whether a pass is an analysis pass or not.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48554 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -551,7 +551,7 @@ namespace {
|
||||
AliasSetTracker *Tracker;
|
||||
public:
|
||||
static char ID; // Pass identification, replacement for typeid
|
||||
AliasSetPrinter() : FunctionPass((intptr_t)&ID, true) {}
|
||||
AliasSetPrinter() : FunctionPass((intptr_t)&ID) {}
|
||||
|
||||
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
AU.setPreservesAll();
|
||||
@@ -569,5 +569,5 @@ namespace {
|
||||
}
|
||||
};
|
||||
char AliasSetPrinter::ID = 0;
|
||||
RegisterPass<AliasSetPrinter> X("print-alias-sets", "Alias Set Printer");
|
||||
RegisterPass<AliasSetPrinter> X("print-alias-sets", "Alias Set Printer", true, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user