aboutsummaryrefslogtreecommitdiff
path: root/src/ir_print.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2019-07-02 16:52:55 -0400
committerAndrew Kelley <andrew@ziglang.org>2019-07-02 16:52:55 -0400
commitdf11512f85e5228ee2393e9dc5fc42294ecba1c9 (patch)
treed428783b71938e855e079a120a6c65e1251717af /src/ir_print.cpp
parent140335b99fd9b26c2a827cb464fef68df7636a63 (diff)
downloadzig-df11512f85e5228ee2393e9dc5fc42294ecba1c9.tar.gz
zig-df11512f85e5228ee2393e9dc5fc42294ecba1c9.zip
fixups
Diffstat (limited to 'src/ir_print.cpp')
-rw-r--r--src/ir_print.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir_print.cpp b/src/ir_print.cpp
index 3b6ee3273e..31b7e608b7 100644
--- a/src/ir_print.cpp
+++ b/src/ir_print.cpp
@@ -1274,7 +1274,7 @@ static void ir_print_has_field(IrPrint *irp, IrInstructionHasField *instruction)
fprintf(irp->f, "@hasField(");
ir_print_other_instruction(irp, instruction->container_type);
fprintf(irp->f, ",");
- ir_print_other_instruction(irp, instruction->field_name_expr);
+ ir_print_other_instruction(irp, instruction->field_name);
fprintf(irp->f, ")");
}