Bugfix line 1465
authorGötz Lindenmaier <goetz@ipd.info.uni-karlsruhe.de>
Thu, 24 Oct 2002 13:10:48 +0000 (13:10 +0000)
committerGötz Lindenmaier <goetz@ipd.info.uni-karlsruhe.de>
Thu, 24 Oct 2002 13:10:48 +0000 (13:10 +0000)
[r501]

ir/ir/irdump.c

index 4a3bbf3..e009ef6 100644 (file)
@@ -1462,7 +1462,7 @@ static void dump_cg_ir_block(ir_node * block, void * env) {
   dump_ir_data_edges(block);
 
   /* dump the nodes that go into the block */
-  for (node = get_irn_link(node); node; node = get_irn_link(node)) {
+  for (node = get_irn_link(block); node; node = get_irn_link(node)) {
     dump_node(node, irgmap);
     dump_ir_data_edges(node);
   }