aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Analysis/LoopInfo.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Analysis/LoopInfo.h b/include/llvm/Analysis/LoopInfo.h
index d78ac0877b..d80ce3ac26 100644
--- a/include/llvm/Analysis/LoopInfo.h
+++ b/include/llvm/Analysis/LoopInfo.h
@@ -57,6 +57,9 @@ class LoopInfo;
class PHINode;
class Instruction;
template<class N> class LoopInfoBase;
+template<class N> class LoopBase;
+
+typedef LoopBase<BasicBlock> Loop;
//===----------------------------------------------------------------------===//
/// LoopBase class - Instances of this class are used to represent loops that
@@ -552,8 +555,6 @@ private:
}
};
-typedef LoopBase<BasicBlock> Loop;
-
//===----------------------------------------------------------------------===//
/// LoopInfo - This class builds and contains all of the top level loop