summaryrefslogtreecommitdiff
path: root/lib/VMCore
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-06-30 04:36:40 +0000
committerChris Lattner <sabre@nondot.org>2001-06-30 04:36:40 +0000
commit7e02b7e600ce8b719b34e2df7a7e44310229564d (patch)
treea7ef2a6f567cfce44379e051a855afc596ed1979 /lib/VMCore
parent28bf86ac001846b167ff3befacdca2f96b25f24a (diff)
downloadllvm-7e02b7e600ce8b719b34e2df7a7e44310229564d.tar.gz
llvm-7e02b7e600ce8b719b34e2df7a7e44310229564d.tar.bz2
llvm-7e02b7e600ce8b719b34e2df7a7e44310229564d.tar.xz
Optimizations got their own header files
Optimizations now live in the 'opt' namespace include/llvm/Opt was renamed include/llvm/Optimizations git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r--lib/VMCore/ConstantFold.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/VMCore/ConstantFold.cpp b/lib/VMCore/ConstantFold.cpp
index 438ea4b37c..54a7980481 100644
--- a/lib/VMCore/ConstantFold.cpp
+++ b/lib/VMCore/ConstantFold.cpp
@@ -4,7 +4,9 @@
//
//===----------------------------------------------------------------------===//
-#include "llvm/Opt/ConstantHandling.h"
+#include "llvm/Optimizations/ConstantHandling.h"
+
+namespace opt {
//===----------------------------------------------------------------------===//
// TemplateRules Class
@@ -195,3 +197,6 @@ const ConstRules *ConstRules::find(const Type *Ty) {
Ty->setConstRules(Result); // Cache the value for future short circuiting!
return Result;
}
+
+
+} // End namespace opt