aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-01-21 21:44:38 +0000
committerChris Lattner <sabre@nondot.org>2002-01-21 21:44:38 +0000
commitc4edcb3a17165e4cbd994671221e84053c68e7db (patch)
tree53e302e004f5fa315d56f8e5a5e1ac71061f3748 /lib/VMCore
parent04c85dcad8f67d2bb2e0e5d051d130f90e473d86 (diff)
downloadexternal_llvm-c4edcb3a17165e4cbd994671221e84053c68e7db.zip
external_llvm-c4edcb3a17165e4cbd994671221e84053c68e7db.tar.gz
external_llvm-c4edcb3a17165e4cbd994671221e84053c68e7db.tar.bz2
Pull stuff out of opt namespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1511 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r--lib/VMCore/ConstantFold.cpp5
-rw-r--r--lib/VMCore/ConstantFold.h3
-rw-r--r--lib/VMCore/ConstantFolding.h3
3 files changed, 0 insertions, 11 deletions
diff --git a/lib/VMCore/ConstantFold.cpp b/lib/VMCore/ConstantFold.cpp
index c588f72..fa561de 100644
--- a/lib/VMCore/ConstantFold.cpp
+++ b/lib/VMCore/ConstantFold.cpp
@@ -6,8 +6,6 @@
#include "llvm/Optimizations/ConstantHandling.h"
-namespace opt {
-
AnnotationID ConstRules::AID(AnnotationManager::getID("opt::ConstRules",
&ConstRules::find));
@@ -341,6 +339,3 @@ Annotation *ConstRules::find(AnnotationID AID, const Annotable *TyA, void *) {
return new EmptyRules();
}
}
-
-
-} // End namespace opt
diff --git a/lib/VMCore/ConstantFold.h b/lib/VMCore/ConstantFold.h
index bd59780..2611745 100644
--- a/lib/VMCore/ConstantFold.h
+++ b/lib/VMCore/ConstantFold.h
@@ -38,8 +38,6 @@
#include "llvm/Type.h"
class PointerType;
-namespace opt {
-
//===----------------------------------------------------------------------===//
// Implement == and != directly...
//===----------------------------------------------------------------------===//
@@ -210,5 +208,4 @@ inline Constant *ConstantFoldBinaryInstruction(unsigned Opcode,
return 0;
}
-} // end namespace opt
#endif
diff --git a/lib/VMCore/ConstantFolding.h b/lib/VMCore/ConstantFolding.h
index bd59780..2611745 100644
--- a/lib/VMCore/ConstantFolding.h
+++ b/lib/VMCore/ConstantFolding.h
@@ -38,8 +38,6 @@
#include "llvm/Type.h"
class PointerType;
-namespace opt {
-
//===----------------------------------------------------------------------===//
// Implement == and != directly...
//===----------------------------------------------------------------------===//
@@ -210,5 +208,4 @@ inline Constant *ConstantFoldBinaryInstruction(unsigned Opcode,
return 0;
}
-} // end namespace opt
#endif