aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/SparcV9/RegAlloc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/SparcV9/RegAlloc')
-rw-r--r--lib/Target/SparcV9/RegAlloc/InterferenceGraph.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/SparcV9/RegAlloc/InterferenceGraph.cpp b/lib/Target/SparcV9/RegAlloc/InterferenceGraph.cpp
index b9d61b6..b246e60 100644
--- a/lib/Target/SparcV9/RegAlloc/InterferenceGraph.cpp
+++ b/lib/Target/SparcV9/RegAlloc/InterferenceGraph.cpp
@@ -224,7 +224,7 @@ void InterferenceGraph::printIG() const
if(Node) {
cerr << " [" << i << "] ";
- for( unsigned int j=0; j < i; j++) {
+ for( unsigned int j=0; j < Size; j++) {
if(IG[i][j])
cerr << "(" << i << "," << j << ") ";
}