diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2010-05-26 15:20:59 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-05-26 15:24:53 -0700 |
commit | 13e1b6b725def5a22952ecd4e2e8b1e61cb3bcfa (patch) | |
tree | 95c8ae5aeca2a021a3c3677a4ad63b2ba2a1a905 /ir_print_visitor.cpp | |
parent | 350bd703480d4e4f8dea1813cec6ee8964bce3be (diff) |
ir_reader: Read record_refs.
Also changes the print visitor to not emit extraneous parenthesis.
Diffstat (limited to 'ir_print_visitor.cpp')
-rw-r--r-- | ir_print_visitor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ir_print_visitor.cpp b/ir_print_visitor.cpp index e507a0ebf9..84edad5dfa 100644 --- a/ir_print_visitor.cpp +++ b/ir_print_visitor.cpp @@ -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); } |