| author | |
| committer | |
| log | 517bdea7549453d958c31cf2af5dc298ea5508a9 |
| tree | fc1bdbf059e9bf9e99b212aae3056ed0e87e7e77 |
| parent | 3085d29af83d07769582f751b3c2f5f36634e34b |
| signature |
in non-debug modes1 files changed, 0 insertions(+), 3 deletions(-)
src/codegen.cpp-3| ... | ... | @@ -3373,9 +3373,6 @@ static LLVMValueRef ir_render_decl_var(CodeGen *g, IrExecutable *executable, IrI |
| 3373 | 3373 | if (!type_has_bits(var->var_type)) |
| 3374 | 3374 | return nullptr; |
| 3375 | 3375 | |
| 3376 | if (var->ref_count == 0 && g->build_mode != BuildModeDebug) | |
| 3377 | return nullptr; | |
| 3378 | ||
| 3379 | 3376 | var->value_ref = ir_llvm_value(g, instruction->var_ptr); |
| 3380 | 3377 | gen_var_debug_decl(g, var); |
| 3381 | 3378 | return nullptr; |