aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Instrumentation/BlockProfiling.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-08-27 22:42:52 +0000
committerChris Lattner <sabre@nondot.org>2006-08-27 22:42:52 +0000
commit7f8897f22e88271cfa114998a4d6088e7c8e8e11 (patch)
treebf5610a6be6233216bdaa701a92527bc23b86cff /lib/Transforms/Instrumentation/BlockProfiling.cpp
parent21a82e6fc718b4a2cc0281a4a43477ba940d3586 (diff)
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/BlockProfiling.cpp')
-rw-r--r--lib/Transforms/Instrumentation/BlockProfiling.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Transforms/Instrumentation/BlockProfiling.cpp b/lib/Transforms/Instrumentation/BlockProfiling.cpp
index 9a85fc50d1..859f596fa6 100644
--- a/lib/Transforms/Instrumentation/BlockProfiling.cpp
+++ b/lib/Transforms/Instrumentation/BlockProfiling.cpp
@@ -35,7 +35,7 @@ namespace {
bool runOnModule(Module &M);
};
- RegisterOpt<FunctionProfiler> X("insert-function-profiling",
+ RegisterPass<FunctionProfiler> X("insert-function-profiling",
"Insert instrumentation for function profiling");
RegisterAnalysisGroup<RSProfilers, FunctionProfiler> XG;
@@ -81,8 +81,8 @@ namespace {
bool runOnModule(Module &M);
};
- RegisterOpt<BlockProfiler> Y("insert-block-profiling",
- "Insert instrumentation for block profiling");
+ RegisterPass<BlockProfiler> Y("insert-block-profiling",
+ "Insert instrumentation for block profiling");
RegisterAnalysisGroup<RSProfilers, BlockProfiler> YG;
}