summaryrefslogtreecommitdiff
path: root/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-07-23 18:06:35 +0000
committerChris Lattner <sabre@nondot.org>2002-07-23 18:06:35 +0000
commitf629309f74cf1a64aa7fd1cd5784fd7db9a8f59e (patch)
treebaf1f59f5f0ba41f4bd1711c4155bbe328e6d041 /lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
parentaf41a12370010325eb163b734d5757a7f0296e67 (diff)
downloadllvm-f629309f74cf1a64aa7fd1cd5784fd7db9a8f59e.tar.gz
llvm-f629309f74cf1a64aa7fd1cd5784fd7db9a8f59e.tar.bz2
llvm-f629309f74cf1a64aa7fd1cd5784fd7db9a8f59e.tar.xz
*** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3016 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp')
-rw-r--r--lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp b/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
index 391bc5bb89..95cd5bea9a 100644
--- a/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
+++ b/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
@@ -37,8 +37,6 @@
using std::vector;
struct ProfilePaths : public FunctionPass {
- const char *getPassName() const { return "ProfilePaths"; }
-
bool runOnFunction(Function &F);
// Before this pass, make sure that there is only one
@@ -49,6 +47,8 @@ struct ProfilePaths : public FunctionPass {
}
};
+static RegisterPass<ProfilePaths> X("paths", "Profile Paths");
+
// createProfilePathsPass - Create a new pass to add path profiling
//
Pass *createProfilePathsPass() {