commit | 5680ee6b28974c9cf6cab9f603d30e6eda2715bc | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Oct 18 01:32:34 2001 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Oct 18 01:32:34 2001 +0000 |
tree | df79e5aa71c1c74139b2bd5f98f43abef2398403 | |
parent | 989305bb239abd4e2617af935e40afd80a122c22 [diff] [blame] |
Convert optimizations to the pass infrastructure git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@873 91177308-0d34-0410-b5e6-96231b3b80d8
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 @@ // 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...