aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Scalar/ConstantProp.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-10-18 01:32:34 +0000
committerChris Lattner <sabre@nondot.org>2001-10-18 01:32:34 +0000
commit5680ee6b28974c9cf6cab9f603d30e6eda2715bc (patch)
treedf79e5aa71c1c74139b2bd5f98f43abef2398403 /lib/Transforms/Scalar/ConstantProp.cpp
parent989305bb239abd4e2617af935e40afd80a122c22 (diff)
downloadexternal_llvm-5680ee6b28974c9cf6cab9f603d30e6eda2715bc.zip
external_llvm-5680ee6b28974c9cf6cab9f603d30e6eda2715bc.tar.gz
external_llvm-5680ee6b28974c9cf6cab9f603d30e6eda2715bc.tar.bz2
Convert optimizations to the pass infrastructure
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@873 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/ConstantProp.cpp')
-rw-r--r--lib/Transforms/Scalar/ConstantProp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/ConstantProp.cpp b/lib/Transforms/Scalar/ConstantProp.cpp
index 61c026a..6ab9780 100644
--- a/lib/Transforms/Scalar/ConstantProp.cpp
+++ b/lib/Transforms/Scalar/ConstantProp.cpp
@@ -199,7 +199,7 @@ static bool DoConstPropPass(Method *M) {
// returns true on failure, false on success...
//
-bool opt::DoConstantPropogation(Method *M) {
+bool opt::ConstantPropogation::doConstantPropogation(Method *M) {
bool Modified = false;
// Fold constants until we make no progress...