summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAlloc/IGNode.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-09-01 20:05:47 +0000
committerChris Lattner <sabre@nondot.org>2003-09-01 20:05:47 +0000
commit7127065f24112c099269d8379802924402afde04 (patch)
tree758239454cb78c6f8c853f287247ef1dc52642db /llvm/lib/CodeGen/RegAlloc/IGNode.cpp
parent8c50571f12cc9b7dfae61d7b48788f5342959536 (diff)
downloadbcm5719-llvm-7127065f24112c099269d8379802924402afde04.tar.gz
bcm5719-llvm-7127065f24112c099269d8379802924402afde04.zip
Move IGNode from public include directory to here. Minor cleanups like adding std:: namespace qualifiers
llvm-svn: 8295
Diffstat (limited to 'llvm/lib/CodeGen/RegAlloc/IGNode.cpp')
-rw-r--r--llvm/lib/CodeGen/RegAlloc/IGNode.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/RegAlloc/IGNode.cpp b/llvm/lib/CodeGen/RegAlloc/IGNode.cpp
index caee2961664..ce502d6e31b 100644
--- a/llvm/lib/CodeGen/RegAlloc/IGNode.cpp
+++ b/llvm/lib/CodeGen/RegAlloc/IGNode.cpp
@@ -1,13 +1,12 @@
-//===-- IGNode.cpp -------------------------------------------------------===//
+//===-- IGNode.cpp --------------------------------------------------------===//
//
// class IGNode for coloring-based register allocation for LLVM.
//
//===----------------------------------------------------------------------===//
-#include "llvm/CodeGen/IGNode.h"
+#include "IGNode.h"
#include <algorithm>
#include <iostream>
-using std::cerr;
//-----------------------------------------------------------------------------
// Sets this IGNode on stack and reduce the degree of neighbors
@@ -18,7 +17,7 @@ void IGNode::pushOnStack() {
int neighs = AdjList.size();
if (neighs < 0) {
- cerr << "\nAdj List size = " << neighs;
+ std::cerr << "\nAdj List size = " << neighs;
assert(0 && "Invalid adj list size");
}
OpenPOWER on IntegriCloud