diff options
Diffstat (limited to 'src/ir.cpp')
| -rw-r--r-- | src/ir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir.cpp b/src/ir.cpp index 629c4149eb..96f0929fa7 100644 --- a/src/ir.cpp +++ b/src/ir.cpp @@ -8367,7 +8367,7 @@ static TypeTableEntry *ir_analyze_dereference(IrAnalyze *ira, IrInstructionUnOp return child_type; } - ir_build_un_op_from(&ira->new_irb, &un_op_instruction->base, IrUnOpDereference, value); + ir_build_load_ptr_from(&ira->new_irb, &un_op_instruction->base, value); return child_type; } |
