From c083dcccbf6da2830914ba691824cf780badef32 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 1 Sep 2003 20:05:47 +0000 Subject: Move IGNode from public include directory to here. Minor cleanups like adding std:: namespace qualifiers git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8295 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/RegAlloc/IGNode.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lib/CodeGen/RegAlloc/IGNode.cpp') diff --git a/lib/CodeGen/RegAlloc/IGNode.cpp b/lib/CodeGen/RegAlloc/IGNode.cpp index caee296166..ce502d6e31 100644 --- a/lib/CodeGen/RegAlloc/IGNode.cpp +++ b/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 #include -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"); } -- cgit v1.2.3-18-g5258