diff options
author | Chris Lattner <sabre@nondot.org> | 2006-08-27 22:42:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-08-27 22:42:52 +0000 |
commit | 7f8897f22e88271cfa114998a4d6088e7c8e8e11 (patch) | |
tree | bf5610a6be6233216bdaa701a92527bc23b86cff /lib/Transforms/Instrumentation/RSProfiling.cpp | |
parent | 21a82e6fc718b4a2cc0281a4a43477ba940d3586 (diff) | |
download | llvm-7f8897f22e88271cfa114998a4d6088e7c8e8e11.tar.gz llvm-7f8897f22e88271cfa114998a4d6088e7c8e8e11.tar.bz2 llvm-7f8897f22e88271cfa114998a4d6088e7c8e8e11.tar.xz |
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
Diffstat (limited to 'lib/Transforms/Instrumentation/RSProfiling.cpp')
-rw-r--r-- | lib/Transforms/Instrumentation/RSProfiling.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Transforms/Instrumentation/RSProfiling.cpp b/lib/Transforms/Instrumentation/RSProfiling.cpp index 31c01ee886..984190a611 100644 --- a/lib/Transforms/Instrumentation/RSProfiling.cpp +++ b/lib/Transforms/Instrumentation/RSProfiling.cpp @@ -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 |