diff options
author | Chris Lattner <sabre@nondot.org> | 2002-07-25 06:17:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-07-25 06:17:51 +0000 |
commit | 0c0edf8afc35a42b15a24ebb5fa5f3fc674290ae (patch) | |
tree | ed8c32c0631b43d63d36b406b9c02baffd63f2b9 /lib/CodeGen/InstrSched | |
parent | bcafccebdbe59cdb888d5a6dc844dea998e02f5b (diff) |
*** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3075 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/InstrSched')
-rw-r--r-- | lib/CodeGen/InstrSched/InstrScheduling.cpp | 2 | ||||
-rw-r--r-- | lib/CodeGen/InstrSched/SchedGraph.cpp | 4 | ||||
-rw-r--r-- | lib/CodeGen/InstrSched/SchedGraph.h | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/lib/CodeGen/InstrSched/InstrScheduling.cpp b/lib/CodeGen/InstrSched/InstrScheduling.cpp index 2271c780a3..19c6922d34 100644 --- a/lib/CodeGen/InstrSched/InstrScheduling.cpp +++ b/lib/CodeGen/InstrSched/InstrScheduling.cpp @@ -79,7 +79,7 @@ private: //---------------------------------------------------------------------- template<class _NodeType> -class ScheduleIterator: public std::forward_iterator<_NodeType, ptrdiff_t> { +class ScheduleIterator : public forward_iterator<_NodeType, ptrdiff_t> { private: unsigned cycleNum; unsigned slotNum; diff --git a/lib/CodeGen/InstrSched/SchedGraph.cpp b/lib/CodeGen/InstrSched/SchedGraph.cpp index 8a9c8e573b..781604eaae 100644 --- a/lib/CodeGen/InstrSched/SchedGraph.cpp +++ b/lib/CodeGen/InstrSched/SchedGraph.cpp @@ -132,7 +132,7 @@ SchedGraphEdge::~SchedGraphEdge() { } -void SchedGraphEdge::dump(int indent=0) const { +void SchedGraphEdge::dump(int indent) const { cerr << std::string(indent*2, ' ') << *this; } @@ -171,7 +171,7 @@ SchedGraphNode::~SchedGraphNode() deleter<SchedGraphEdge>); } -void SchedGraphNode::dump(int indent=0) const { +void SchedGraphNode::dump(int indent) const { cerr << std::string(indent*2, ' ') << *this; } diff --git a/lib/CodeGen/InstrSched/SchedGraph.h b/lib/CodeGen/InstrSched/SchedGraph.h index 7db22d6734..0d59734e2d 100644 --- a/lib/CodeGen/InstrSched/SchedGraph.h +++ b/lib/CodeGen/InstrSched/SchedGraph.h @@ -377,7 +377,7 @@ private: // for <const SchedGraphNode, SchedGraphNode::const_iterator>. // template <class _NodeType, class _EdgeType, class _EdgeIter> -class SGPredIterator: public std::bidirectional_iterator<_NodeType, ptrdiff_t> { +class SGPredIterator: public bidirectional_iterator<_NodeType, ptrdiff_t> { protected: _EdgeIter oi; public: @@ -406,7 +406,7 @@ public: }; template <class _NodeType, class _EdgeType, class _EdgeIter> -class SGSuccIterator: public std::bidirectional_iterator<_NodeType, ptrdiff_t> { +class SGSuccIterator : public bidirectional_iterator<_NodeType, ptrdiff_t> { protected: _EdgeIter oi; public: |