summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/InstrSched
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-07-25 06:17:51 +0000
committerChris Lattner <sabre@nondot.org>2002-07-25 06:17:51 +0000
commit10073a9080498f8ce8ad87b425d8bbb5b6536b67 (patch)
tree10569e0dce9be5b0fc6bb11e55babf9b9f2c170f /llvm/lib/CodeGen/InstrSched
parente680139c346e2e1e09f4574995cca1874abe7f28 (diff)
downloadbcm5719-llvm-10073a9080498f8ce8ad87b425d8bbb5b6536b67.tar.gz
bcm5719-llvm-10073a9080498f8ce8ad87b425d8bbb5b6536b67.zip
*** empty log message ***
llvm-svn: 3075
Diffstat (limited to 'llvm/lib/CodeGen/InstrSched')
-rw-r--r--llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp2
-rw-r--r--llvm/lib/CodeGen/InstrSched/SchedGraph.cpp4
-rw-r--r--llvm/lib/CodeGen/InstrSched/SchedGraph.h4
3 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp b/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp
index 2271c780a3c..19c6922d342 100644
--- a/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp
+++ b/llvm/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/llvm/lib/CodeGen/InstrSched/SchedGraph.cpp b/llvm/lib/CodeGen/InstrSched/SchedGraph.cpp
index 8a9c8e573b3..781604eaae7 100644
--- a/llvm/lib/CodeGen/InstrSched/SchedGraph.cpp
+++ b/llvm/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/llvm/lib/CodeGen/InstrSched/SchedGraph.h b/llvm/lib/CodeGen/InstrSched/SchedGraph.h
index 7db22d67346..0d59734e2da 100644
--- a/llvm/lib/CodeGen/InstrSched/SchedGraph.h
+++ b/llvm/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:
OpenPOWER on IntegriCloud