ir_reader: Read record_refs.
Also changes the print visitor to not emit extraneous parenthesis.
This commit is contained in:
committed by
Ian Romanick
parent
350bd70348
commit
13e1b6b725
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user