aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/Interval.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-04-28 16:21:30 +0000
committerChris Lattner <sabre@nondot.org>2002-04-28 16:21:30 +0000
commit1b7f7dc4b45a900fae2e9b062d588a995935727a (patch)
treef0853819719944846cc56e8742935169d838249e /lib/Analysis/Interval.cpp
parent8fc2f2072de83665ae20e06929e28317f449bcdf (diff)
Eliminate the cfg namespace, moving LoopInfo, Dominators, Interval* classes
to the global namespace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2370 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/Interval.cpp')
-rw-r--r--lib/Analysis/Interval.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Analysis/Interval.cpp b/lib/Analysis/Interval.cpp
index de5d57f85e..a4aa88abdb 100644
--- a/lib/Analysis/Interval.cpp
+++ b/lib/Analysis/Interval.cpp
@@ -1,7 +1,7 @@
//===- Interval.cpp - Interval class code ------------------------*- C++ -*--=//
//
-// This file contains the definition of the cfg::Interval class, which
-// represents a partition of a control flow graph of some kind.
+// This file contains the definition of the Interval class, which represents a
+// partition of a control flow graph of some kind.
//
//===----------------------------------------------------------------------===//
@@ -15,7 +15,7 @@
// isLoop - Find out if there is a back edge in this interval...
//
-bool cfg::Interval::isLoop() const {
+bool Interval::isLoop() const {
// There is a loop in this interval iff one of the predecessors of the header
// node lives in the interval.
for (::pred_iterator I = ::pred_begin(HeaderNode), E = ::pred_end(HeaderNode);