Commit 466fa311b1

Loris Cro <kappaloris@gmail.com>
2025-02-17 17:37:10
`@deprecated`: optimize sema implementation
mlugg suggested a better way of implementing analysis of an istruction that cannot be referenced by other instructions.
1 parent c75fdd9
Changed files (1)
src/Sema.zig
@@ -1412,7 +1412,8 @@ fn analyzeBodyInner(
                             return sema.fail(block, src, "found deprecated code", .{});
                         }
 
-                        break :ext .void_value;
+                        i += 1;
+                        continue;
                     },
                     .disable_instrumentation => {
                         try sema.zirDisableInstrumentation();