aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-07-21 22:53:35 +0000
committerChris Lattner <sabre@nondot.org>2001-07-21 22:53:35 +0000
commit36765b0c3ff1f8ec86e02bc73e8ef8caad0c954e (patch)
tree37f15d22f813422c2a6477b420dc6162f0ada071
parent57738965f8687f9f1fca5d444e7a0c173eafb31e (diff)
downloadexternal_llvm-36765b0c3ff1f8ec86e02bc73e8ef8caad0c954e.zip
external_llvm-36765b0c3ff1f8ec86e02bc73e8ef8caad0c954e.tar.gz
external_llvm-36765b0c3ff1f8ec86e02bc73e8ef8caad0c954e.tar.bz2
Remove unneccesary #includes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@258 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/InstrSelection/InstrSelection.cpp10
-rw-r--r--lib/Target/SparcV9/InstrSelection/InstrSelection.cpp10
2 files changed, 2 insertions, 18 deletions
diff --git a/lib/CodeGen/InstrSelection/InstrSelection.cpp b/lib/CodeGen/InstrSelection/InstrSelection.cpp
index 9c955eb..aac5757 100644
--- a/lib/CodeGen/InstrSelection/InstrSelection.cpp
+++ b/lib/CodeGen/InstrSelection/InstrSelection.cpp
@@ -10,14 +10,6 @@
//***************************************************************************
-//************************** System Include Files **************************/
-
-#include <assert.h>
-#include <stdio.h>
-#include <iostream.h>
-#include <bool.h>
-#include <string>
-
//*************************** User Include Files ***************************/
#include "llvm/Method.h"
@@ -75,7 +67,7 @@ SelectInstructionsForMethod(Method* method,
>= DEBUG_BURG_TREES)
{
printcover(basicNode, 1, 0);
- printf("\nCover cost == %d\n\n", treecost(basicNode, 1, 0));
+ cerr << "\nCover cost == " << treecost(basicNode, 1, 0) << "\n\n";
printMatches(basicNode);
}
diff --git a/lib/Target/SparcV9/InstrSelection/InstrSelection.cpp b/lib/Target/SparcV9/InstrSelection/InstrSelection.cpp
index 9c955eb..aac5757 100644
--- a/lib/Target/SparcV9/InstrSelection/InstrSelection.cpp
+++ b/lib/Target/SparcV9/InstrSelection/InstrSelection.cpp
@@ -10,14 +10,6 @@
//***************************************************************************
-//************************** System Include Files **************************/
-
-#include <assert.h>
-#include <stdio.h>
-#include <iostream.h>
-#include <bool.h>
-#include <string>
-
//*************************** User Include Files ***************************/
#include "llvm/Method.h"
@@ -75,7 +67,7 @@ SelectInstructionsForMethod(Method* method,
>= DEBUG_BURG_TREES)
{
printcover(basicNode, 1, 0);
- printf("\nCover cost == %d\n\n", treecost(basicNode, 1, 0));
+ cerr << "\nCover cost == " << treecost(basicNode, 1, 0) << "\n\n";
printMatches(basicNode);
}