mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-24 13:18:17 +00:00
eliminate RegisterOpt. It does the same thing as RegisterPass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29925 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -87,7 +87,7 @@ namespace {
|
||||
};
|
||||
|
||||
static RegisterAnalysisGroup<RSProfilers> A("Profiling passes");
|
||||
static RegisterOpt<NullProfilerRS> NP("insert-null-profiling-rs",
|
||||
static RegisterPass<NullProfilerRS> NP("insert-null-profiling-rs",
|
||||
"Measure profiling framework overhead");
|
||||
static RegisterAnalysisGroup<RSProfilers, NullProfilerRS, true> NPT;
|
||||
|
||||
@@ -160,8 +160,8 @@ namespace {
|
||||
virtual void getAnalysisUsage(AnalysisUsage &AU) const;
|
||||
};
|
||||
|
||||
RegisterOpt<ProfilerRS> X("insert-rs-profiling-framework",
|
||||
"Insert random sampling instrumentation framework");
|
||||
RegisterPass<ProfilerRS> X("insert-rs-profiling-framework",
|
||||
"Insert random sampling instrumentation framework");
|
||||
}
|
||||
|
||||
//Local utilities
|
||||
|
||||
Reference in New Issue
Block a user