summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-07-26 21:12:44 +0000
committerChris Lattner <sabre@nondot.org>2002-07-26 21:12:44 +0000
commita2c098598058ae8466f6141804fdba50b758b0fd (patch)
tree0eb509aa12fe009ee16265c0bd5f1a1a226720a3 /llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
parentd858d8087fae2b014bd5ee520e53e1e34f055794 (diff)
downloadbcm5719-llvm-a2c098598058ae8466f6141804fdba50b758b0fd.tar.gz
bcm5719-llvm-a2c098598058ae8466f6141804fdba50b758b0fd.zip
* Add support for different "PassType's"
* Add new RegisterOpt/RegisterAnalysis templates for registering passes that are to show up in opt or analyze * Register Analyses now * Change optimizations to use RegisterOpt instead of RegisterPass * Add support for different "PassType's" * Add new RegisterOpt/RegisterAnalysis templates for registering passes that are to show up in opt or analyze * Register Analyses now * Change optimizations to use RegisterOpt instead of RegisterPass * Remove getPassName implementations from various subclasses llvm-svn: 3112
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp')
-rw-r--r--llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp b/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
index 95cd5bea9a9..98430f9c7a1 100644
--- a/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
+++ b/llvm/lib/Transforms/Instrumentation/ProfilePaths/ProfilePaths.cpp
@@ -47,7 +47,7 @@ struct ProfilePaths : public FunctionPass {
}
};
-static RegisterPass<ProfilePaths> X("paths", "Profile Paths");
+static RegisterOpt<ProfilePaths> X("paths", "Profile Paths");
// createProfilePathsPass - Create a new pass to add path profiling
//
OpenPOWER on IntegriCloud