aboutsummaryrefslogtreecommitdiffstats
path: root/tools/opt/opt.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-02-26 20:04:59 +0000
committerChris Lattner <sabre@nondot.org>2002-02-26 20:04:59 +0000
commiteded4916d6679a8c42e5f16d022afe0252c2df8e (patch)
tree9cd3acd6d1bf66eeb5317ebfaa0d872399a51950 /tools/opt/opt.cpp
parentdc9a1f5ce813d7d397726106bb796520c47d20e6 (diff)
downloadexternal_llvm-eded4916d6679a8c42e5f16d022afe0252c2df8e.zip
external_llvm-eded4916d6679a8c42e5f16d022afe0252c2df8e.tar.gz
external_llvm-eded4916d6679a8c42e5f16d022afe0252c2df8e.tar.bz2
Move ProfilePaths class into ProfilePaths library, only expose a creation function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1812 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/opt/opt.cpp')
-rw-r--r--tools/opt/opt.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp
index 34eff8f..2b2447b 100644
--- a/tools/opt/opt.cpp
+++ b/tools/opt/opt.cpp
@@ -100,9 +100,11 @@ struct {
{ trace , New<InsertTraceCode, bool, true, bool, true> },
{ tracem , New<InsertTraceCode, bool, false, bool, true> },
- { paths , New<ProfilePaths> },
+ { paths , createProfilePathsPass },
+
{ print , NewPrintMethodPass },
{ verify , createVerifierPass },
+
{ raiseallocs, New<RaiseAllocations> },
{ cleangcc , New<CleanupGCCOutput> },
{ globaldce , New<GlobalDCE> },