mirror of
https://github.com/ziglang/zig.git
synced 2025-12-12 17:23:09 +00:00
Skip all dbg instructions
This commit is contained in:
parent
9b0da5ccef
commit
1ce12db5c8
@ -7487,7 +7487,7 @@ pub const FuncGen = struct {
|
||||
for (body_tail[1..]) |body_inst| {
|
||||
switch (air_tags[@intFromEnum(body_inst)]) {
|
||||
.ret => return true,
|
||||
.dbg_block_begin, .dbg_stmt => continue,
|
||||
.dbg_stmt, .dbg_block_end => continue,
|
||||
else => return false,
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user