mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-07 14:24:43 +00:00
revert commit 860d3da915 ; please see #1249 for more information; (#1255)
This commit is contained in:
parent
3bb00eac37
commit
69e3b4e7dc
1 changed files with 2 additions and 0 deletions
|
|
@ -246,6 +246,8 @@ static void ir_ref_bb(IrBasicBlock *bb) {
|
|||
static void ir_ref_instruction(IrInstruction *instruction, IrBasicBlock *cur_bb) {
|
||||
assert(instruction->id != IrInstructionIdInvalid);
|
||||
instruction->ref_count += 1;
|
||||
if (instruction->owner_bb != cur_bb && !instr_is_comptime(instruction))
|
||||
ir_ref_bb(instruction->owner_bb);
|
||||
}
|
||||
|
||||
static void ir_ref_var(VariableTableEntry *var) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue