summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitb28b6801551d44108f6d7c08383a69e1a1010d2f (patch)
tree73d5091db6a0b47b2d2cf62ca27eef26b5e666dc /llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
parent6788f25f997f95505f3bfac89af2649f3660164d (diff)
downloadbcm5719-llvm-b28b6801551d44108f6d7c08383a69e1a1010d2f.tar.gz
bcm5719-llvm-b28b6801551d44108f6d7c08383a69e1a1010d2f.zip
*** empty log message ***
llvm-svn: 3016
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp')
-rw-r--r--llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp b/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
index 391bc5bb895..95cd5bea9a9 100644
--- a/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
+++ b/llvm/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() {
OpenPOWER on IntegriCloud