Add parens around printed IR so it's an official list of instructions.
This commit is contained in:
committed by
Ian Romanick
parent
1168d95109
commit
a02c5afce8
@@ -776,12 +776,14 @@ main(int argc, char **argv)
|
||||
printf("\n\n");
|
||||
|
||||
if (!state.error) {
|
||||
printf("(\n");
|
||||
foreach_iter(exec_list_iterator, iter, instructions) {
|
||||
ir_print_visitor v;
|
||||
|
||||
((ir_instruction *)iter.get())->accept(& v);
|
||||
printf("\n");
|
||||
}
|
||||
printf("\n)");
|
||||
}
|
||||
|
||||
delete state.symbols;
|
||||
|
||||
Reference in New Issue
Block a user