nac3_sca/nac3core/src/codegen
pca006132 750d912eb4 nac3core: do list bound check and negative index handling
Raise error when index out of range. Note that we use llvm.expect to
tell the optimizer that we expect not to raise an exception, so the
normal path performance would be better. If this assumption is violated,
the exception overhead might be slightly larger, but the percentage
increase in overhead should not be high since exception unwinding is
already pretty slow.
2022-02-12 22:50:32 +08:00
..
irrt nac3core: list slice irrt use one function to handle var size 2022-02-07 02:09:50 +08:00
concrete_type.rs nac3core: added exception type and fixed primitive representation 2022-02-12 22:13:59 +08:00
expr.rs nac3core: do list bound check and negative index handling 2022-02-12 22:50:32 +08:00
generator.rs nac3core: codegen refactoring 2022-02-12 22:13:59 +08:00
mod.rs nac3core: codegen refactoring 2022-02-12 22:13:59 +08:00
stmt.rs nac3core: exception type check and codegen 2022-02-12 22:50:32 +08:00
test.rs nac3core: fix broken tests 2022-01-14 16:28:37 +08:00