nac3/nac3core/src/codegen
David Mak 48c6498d1f core: Fix restoration of loop target in try statement
old_loop_target is only assigned if ctx.loop_target is overwritten,
meaning that if ctx.loop_target is never overwritten, ctx.loop_target
will always be overwritten to None.

We fix this by only restoring from old_loop_target if we previously
assigned to old_loop_target.
2023-09-28 20:00:02 +08:00
..
irrt core: Add name to build_gep_and_load 2023-09-22 17:16:29 +08:00
concrete_type.rs basic unsigned integer support 2022-03-08 13:34:02 +08:00
expr.rs core: Fix passing structure arguments to extern functions 2023-09-28 15:02:35 +08:00
generator.rs meta: Improve documentation for various modified classes 2023-09-25 15:42:07 +08:00
mod.rs meta: Respect opt flags when performing whole-module optimization 2023-09-28 19:58:54 +08:00
stmt.rs core: Fix restoration of loop target in try statement 2023-09-28 20:00:02 +08:00
test.rs core: Remove emit_llvm from CodeGenLLVMOptions 2023-09-22 17:16:29 +08:00