aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore/ConstantFold.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/VMCore/ConstantFold.cpp')
-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