aboutsummaryrefslogtreecommitdiff
path: root/src/ir_print.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir_print.c')
-rw-r--r--src/ir_print.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ir_print.c b/src/ir_print.c
index 643c429e7..3018e2463 100644
--- a/src/ir_print.c
+++ b/src/ir_print.c
@@ -203,7 +203,7 @@ void ir_print_type(irFileBuffer *f, irModule *m, Type *t) {
case Type_Record: {
switch (t->Record.kind) {
case TypeRecord_Struct:
- if (t->Record.struct_is_packed) {
+ if (t->Record.is_packed) {
ir_fprintf(f, "<");
}
ir_fprintf(f, "{");
@@ -220,7 +220,7 @@ void ir_print_type(irFileBuffer *f, irModule *m, Type *t) {
ir_print_type(f, m, t->Record.fields[i]->type);
}
ir_fprintf(f, "}");
- if (t->Record.struct_is_packed) {
+ if (t->Record.is_packed) {
ir_fprintf(f, ">");
}
return;
@@ -526,7 +526,7 @@ void ir_print_exact_value(irFileBuffer *f, irModule *m, ExactValue value, Type *
- if (type->Record.struct_is_packed) {
+ if (type->Record.is_packed) {
ir_fprintf(f, "<");
}
ir_fprintf(f, "{");
@@ -543,7 +543,7 @@ void ir_print_exact_value(irFileBuffer *f, irModule *m, ExactValue value, Type *
ir_fprintf(f, "}");
- if (type->Record.struct_is_packed) {
+ if (type->Record.is_packed) {
ir_fprintf(f, ">");
}