ir_reader: Read record_refs.

Also changes the print visitor to not emit extraneous parenthesis.
This commit is contained in:
Kenneth Graunke
2010-05-26 15:20:59 -07:00
committed by Ian Romanick
parent 350bd70348
commit 13e1b6b725
2 changed files with 19 additions and 3 deletions
+1 -1
View File
@@ -181,7 +181,7 @@ void ir_print_visitor::visit(ir_dereference_record *ir)
{
printf("(record_ref ");
ir->record->accept(this);
printf("(%s)) ", ir->field);
printf(" %s) ", ir->field);
}