diff options
Diffstat (limited to 'src/ir_print.cpp')
| -rw-r--r-- | src/ir_print.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ir_print.cpp b/src/ir_print.cpp index e66b4a3cdf..0477f3edaa 100644 --- a/src/ir_print.cpp +++ b/src/ir_print.cpp @@ -1476,9 +1476,7 @@ static void ir_print_import(IrPrintSrc *irp, IrInstSrcImport *instruction) { } static void ir_print_ref(IrPrintSrc *irp, IrInstSrcRef *instruction) { - const char *const_str = instruction->is_const ? "const " : ""; - const char *volatile_str = instruction->is_volatile ? "volatile " : ""; - fprintf(irp->f, "%s%sref ", const_str, volatile_str); + fprintf(irp->f, "ref "); ir_print_other_inst_src(irp, instruction->value); } |
