aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-01-26 22:47:07 +0000
committerChris Lattner <sabre@nondot.org>2002-01-26 22:47:07 +0000
commit33fa13c57ce3997a4af3e00aecb5290c12d75b20 (patch)
tree28f224c235b08508549c2fcee642a6c208f42f9f
parent3785a662c2c568b16905ab4f39a66dec183023ab (diff)
Remove opt namespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1587 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Transforms/Scalar/InductionVars.h4
-rw-r--r--lib/Transforms/Scalar/InductionVars.cpp4
2 files changed, 1 insertions, 7 deletions
diff --git a/include/llvm/Transforms/Scalar/InductionVars.h b/include/llvm/Transforms/Scalar/InductionVars.h
index 146239d82b..4faf3458f6 100644
--- a/include/llvm/Transforms/Scalar/InductionVars.h
+++ b/include/llvm/Transforms/Scalar/InductionVars.h
@@ -10,8 +10,6 @@
#include "llvm/Pass.h"
-namespace opt {
-
struct InductionVariableCannonicalize : public MethodPass {
// doInductionVariableCannonicalize - Simplify induction variables in loops
//
@@ -22,6 +20,4 @@ struct InductionVariableCannonicalize : public MethodPass {
}
};
-} // end namespace opt
-
#endif
diff --git a/lib/Transforms/Scalar/InductionVars.cpp b/lib/Transforms/Scalar/InductionVars.cpp
index cab778e025..6d7df4169b 100644
--- a/lib/Transforms/Scalar/InductionVars.cpp
+++ b/lib/Transforms/Scalar/InductionVars.cpp
@@ -32,8 +32,6 @@ using std::cerr;
#include "llvm/Analysis/LoopDepth.h"
-using namespace opt;
-
// isLoopInvariant - Return true if the specified value/basic block source is
// an interval invariant computation.
//
@@ -373,7 +371,7 @@ static bool ProcessIntervalPartition(cfg::IntervalPartition &IP) {
// This function loops over an interval partition of a program, reducing it
// until the graph is gone.
//
-bool opt::InductionVariableCannonicalize::doIt(Method *M) {
+bool InductionVariableCannonicalize::doIt(Method *M) {
// TODO: REMOVE
if (0) { // Print basic blocks with their depth
LoopDepthCalculator LDC(M);