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
diff --git a/lib/Transforms/Instrumentation/TraceValues.cpp b/lib/Transforms/Instrumentation/TraceValues.cpp
index eba596b..d335f16 100644
--- a/lib/Transforms/Instrumentation/TraceValues.cpp
+++ b/lib/Transforms/Instrumentation/TraceValues.cpp
@@ -104,8 +104,8 @@
};
// Register the passes...
- RegisterOpt<FunctionTracer> X("tracem","Insert Function trace code only");
- RegisterOpt<BasicBlockTracer> Y("trace","Insert BB and Function trace code");
+ RegisterPass<FunctionTracer> X("tracem","Insert Function trace code only");
+ RegisterPass<BasicBlockTracer> Y("trace","Insert BB and Function trace code");
} // end anonymous namespace
/// Just trace functions