summaryrefslogtreecommitdiffstats
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
commitd9f1ab2077df2360e1ed8bf46db67a18642d3c5e (patch)
treef41e0e2e4d7479cded64dd6670326cac19c3cc3e
parentc940c536ab414de37204a4925b5bd142f3bfc651 (diff)
downloadbcm5719-llvm-d9f1ab2077df2360e1ed8bf46db67a18642d3c5e.tar.gz
bcm5719-llvm-d9f1ab2077df2360e1ed8bf46db67a18642d3c5e.zip
Pull stuff out of opt namespace
llvm-svn: 1511
-rw-r--r--llvm/include/llvm/ConstantHandling.h3
-rw-r--r--llvm/lib/VMCore/ConstantHandling.cpp5
2 files changed, 0 insertions, 8 deletions
diff --git a/llvm/include/llvm/ConstantHandling.h b/llvm/include/llvm/ConstantHandling.h
index bd59780ef20..261174577c4 100644
--- a/llvm/include/llvm/ConstantHandling.h
+++ b/llvm/include/llvm/ConstantHandling.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/llvm/lib/VMCore/ConstantHandling.cpp b/llvm/lib/VMCore/ConstantHandling.cpp
index c588f72a239..fa561de6a38 100644
--- a/llvm/lib/VMCore/ConstantHandling.cpp
+++ b/llvm/lib/VMCore/ConstantHandling.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
OpenPOWER on IntegriCloud