projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix batch of converting RegisterPass<> to INTIALIZE_PASS().
[oota-llvm.git]
/
lib
/
Transforms
/
Instrumentation
/
EdgeProfiling.cpp
diff --git
a/lib/Transforms/Instrumentation/EdgeProfiling.cpp
b/lib/Transforms/Instrumentation/EdgeProfiling.cpp
index 9ae3786707153eb22e0def52d254a9e05d65746e..e5cd1f0ef423b20e140a2705996404901cf08d1d 100644
(file)
--- a/
lib/Transforms/Instrumentation/EdgeProfiling.cpp
+++ b/
lib/Transforms/Instrumentation/EdgeProfiling.cpp
@@
-43,8
+43,8
@@
namespace {
}
char EdgeProfiler::ID = 0;
}
char EdgeProfiler::ID = 0;
-static RegisterPass<EdgeProfiler>
-
X("insert-edge-profiling", "Insert instrumentation for edge profiling"
);
+INITIALIZE_PASS(EdgeProfiler, "insert-edge-profiling",
+
"Insert instrumentation for edge profiling", false, false
);
ModulePass *llvm::createEdgeProfilerPass() { return new EdgeProfiler(); }
ModulePass *llvm::createEdgeProfilerPass() { return new EdgeProfiler(); }