| ... | @@ -3087,7 +3087,7 @@ fn zirMakePtrConst(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileErro | ... | @@ -3087,7 +3087,7 @@ fn zirMakePtrConst(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileErro |
| 3087 | | 3087 | |
| 3088 | const candidate = block.instructions.items[search_index]; | 3088 | const candidate = block.instructions.items[search_index]; |
| 3089 | switch (air_tags[candidate]) { | 3089 | switch (air_tags[candidate]) { |
| 3090 | .dbg_stmt => continue, | 3090 | .dbg_stmt, .dbg_block_begin, .dbg_block_end => continue, |
| 3091 | .store => break candidate, | 3091 | .store => break candidate, |
| 3092 | else => break :ct, | 3092 | else => break :ct, |
| 3093 | } | 3093 | } |
| ... | @@ -3099,7 +3099,7 @@ fn zirMakePtrConst(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileErro | ... | @@ -3099,7 +3099,7 @@ fn zirMakePtrConst(sema: *Sema, block: *Block, inst: Zir.Inst.Index) CompileErro |
| 3099 | | 3099 | |
| 3100 | const candidate = block.instructions.items[search_index]; | 3100 | const candidate = block.instructions.items[search_index]; |
| 3101 | switch (air_tags[candidate]) { | 3101 | switch (air_tags[candidate]) { |
| 3102 | .dbg_stmt => continue, | 3102 | .dbg_stmt, .dbg_block_begin, .dbg_block_end => continue, |
| 3103 | .alloc => { | 3103 | .alloc => { |
| 3104 | if (Air.indexToRef(candidate) != alloc) break :ct; | 3104 | if (Air.indexToRef(candidate) != alloc) break :ct; |
| 3105 | break; | 3105 | break; |
| ... | @@ -3317,7 +3317,7 @@ fn zirResolveInferredAlloc(sema: *Sema, block: *Block, inst: Zir.Inst.Index) Com | ... | @@ -3317,7 +3317,7 @@ fn zirResolveInferredAlloc(sema: *Sema, block: *Block, inst: Zir.Inst.Index) Com |
| 3317 | | 3317 | |
| 3318 | const candidate = block.instructions.items[search_index]; | 3318 | const candidate = block.instructions.items[search_index]; |
| 3319 | switch (air_tags[candidate]) { | 3319 | switch (air_tags[candidate]) { |
| 3320 | .dbg_stmt => continue, | 3320 | .dbg_stmt, .dbg_block_begin, .dbg_block_end => continue, |
| 3321 | .store => break candidate, | 3321 | .store => break candidate, |
| 3322 | else => break :ct, | 3322 | else => break :ct, |
| 3323 | } | 3323 | } |
| ... | @@ -3329,7 +3329,7 @@ fn zirResolveInferredAlloc(sema: *Sema, block: *Block, inst: Zir.Inst.Index) Com | ... | @@ -3329,7 +3329,7 @@ fn zirResolveInferredAlloc(sema: *Sema, block: *Block, inst: Zir.Inst.Index) Com |
| 3329 | | 3329 | |
| 3330 | const candidate = block.instructions.items[search_index]; | 3330 | const candidate = block.instructions.items[search_index]; |
| 3331 | switch (air_tags[candidate]) { | 3331 | switch (air_tags[candidate]) { |
| 3332 | .dbg_stmt => continue, | 3332 | .dbg_stmt, .dbg_block_begin, .dbg_block_end => continue, |
| 3333 | .bitcast => break candidate, | 3333 | .bitcast => break candidate, |
| 3334 | else => break :ct, | 3334 | else => break :ct, |
| 3335 | } | 3335 | } |
| ... | @@ -3341,7 +3341,7 @@ fn zirResolveInferredAlloc(sema: *Sema, block: *Block, inst: Zir.Inst.Index) Com | ... | @@ -3341,7 +3341,7 @@ fn zirResolveInferredAlloc(sema: *Sema, block: *Block, inst: Zir.Inst.Index) Com |
| 3341 | | 3341 | |
| 3342 | const candidate = block.instructions.items[search_index]; | 3342 | const candidate = block.instructions.items[search_index]; |
| 3343 | switch (air_tags[candidate]) { | 3343 | switch (air_tags[candidate]) { |
| 3344 | .dbg_stmt => continue, | 3344 | .dbg_stmt, .dbg_block_begin, .dbg_block_end => continue, |
| 3345 | .constant => break candidate, | 3345 | .constant => break candidate, |
| 3346 | else => break :ct, | 3346 | else => break :ct, |
| 3347 | } | 3347 | } |