aboutsummaryrefslogtreecommitdiff
path: root/src/ir_print.c
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2017-02-24 19:48:18 +0000
committerGinger Bill <bill@gingerbill.org>2017-02-24 19:48:18 +0000
commit9b2f5c359a6bc1ab1c8d6a27ebf859c4ed512980 (patch)
treeacfc8a4837bf58dff3fb8a12b65ec3ce94db7241 /src/ir_print.c
parenta982c51c30141b88fd905c02225c2a7efdb39137 (diff)
v0.1.1v0.1.1
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, ">");
}