summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-10-01 19:01:39 +0000
committerChris Lattner <sabre@nondot.org>2004-10-01 19:01:39 +0000
commitf06f4a7c688a4fdcc166834bb9746190f60c3bb3 (patch)
tree4a30667b6c97739b9bdd095561ab409399dc3076 /llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
parente0cce9945dc384a3ebd47c4ea5090032be3d75b0 (diff)
downloadbcm5719-llvm-f06f4a7c688a4fdcc166834bb9746190f60c3bb3.tar.gz
bcm5719-llvm-f06f4a7c688a4fdcc166834bb9746190f60c3bb3.zip
Pretty print a bit nicer :)
llvm-svn: 16628
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveIntervalAnalysis.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
index c3c6fee9831..40b11f1e8e1 100644
--- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -172,7 +172,7 @@ bool LiveIntervals::runOnMachineFunction(MachineFunction &fn) {
void LiveIntervals::print(std::ostream &O) const {
O << "********** INTERVALS **********\n";
for (const_iterator I = begin(), E = end(); I != E; ++I)
- O << I->second << "\n";
+ O << " " << I->second << "\n";
O << "********** MACHINEINSTRS **********\n";
for (MachineFunction::iterator mbbi = mf_->begin(), mbbe = mf_->end();
@@ -185,7 +185,6 @@ void LiveIntervals::print(std::ostream &O) const {
}
}
-
std::vector<LiveInterval*> LiveIntervals::
addIntervalsForSpills(const LiveInterval &li, VirtRegMap &vrm, int slot) {
// since this is called after the analysis is done we don't know if
OpenPOWER on IntegriCloud