diff options
Diffstat (limited to 'src/ir_print.cpp')
| -rw-r--r-- | src/ir_print.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir_print.cpp b/src/ir_print.cpp index 814ae5a7f..637822980 100644 --- a/src/ir_print.cpp +++ b/src/ir_print.cpp @@ -731,7 +731,7 @@ void ir_print_exact_value(irFileBuffer *f, irModule *m, ExactValue value, Type * } } else { for_array(i, cl->elems) { - Entity *f = type->Struct.fields_in_src_order[i]; + Entity *f = type->Struct.fields[i]; TypeAndValue tav = type_and_value_of_expr(m->info, cl->elems[i]); ExactValue val = {}; if (tav.mode != Addressing_Invalid) { |