summaryrefslogtreecommitdiffstats
path: root/lib/VMCore
diff options
context:
space:
mode:
Diffstat (limited to 'lib/VMCore')
-rw-r--r--lib/VMCore/ConstantFold.h3
-rw-r--r--lib/VMCore/ConstantFolding.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/lib/VMCore/ConstantFold.h b/lib/VMCore/ConstantFold.h
index 4facdc3..cf18ef8 100644
--- a/lib/VMCore/ConstantFold.h
+++ b/lib/VMCore/ConstantFold.h
@@ -39,6 +39,8 @@
#include "llvm/Instruction.h"
#include "llvm/Type.h"
+namespace opt {
+
//===----------------------------------------------------------------------===//
// Implement == directly...
//===----------------------------------------------------------------------===//
@@ -174,4 +176,5 @@ inline ConstPoolVal *ConstantFoldBinaryInstruction(unsigned Opcode,
return 0;
}
+} // end namespace opt
#endif
diff --git a/lib/VMCore/ConstantFolding.h b/lib/VMCore/ConstantFolding.h
index 4facdc3..cf18ef8 100644
--- a/lib/VMCore/ConstantFolding.h
+++ b/lib/VMCore/ConstantFolding.h
@@ -39,6 +39,8 @@
#include "llvm/Instruction.h"
#include "llvm/Type.h"
+namespace opt {
+
//===----------------------------------------------------------------------===//
// Implement == directly...
//===----------------------------------------------------------------------===//
@@ -174,4 +176,5 @@ inline ConstPoolVal *ConstantFoldBinaryInstruction(unsigned Opcode,
return 0;
}
+} // end namespace opt
#endif