Skip all dbg instructions

This commit is contained in:
ocrap7 authored and Andrew Kelley committed 2024-01-16 15:01:42 -08:00
1 parent 9b0da5ccef
commit 1ce12db5c8
1 file changed
+1 -1
+1 -1
View File
@@ -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,
}
}