dplassgit / d2lang

D2 is a strongly-typed, statically-typed, (mostly) inferred-type compiled language.
MIT License
6 stars 0 forks source link

Move NPE checks and division by 0 checks to ILCodeGenerator #239

Closed dplassgit closed 3 months ago

dplassgit commented 1 year ago

Instead of the NasmCodeGenerator, so they'll work on all architectures (!)

dplassgit commented 1 year ago

This is causing issues with temps being read more than once (once for the null or division by 0 check, and once for where it's actually used.)

dplassgit commented 1 year ago

Blocked by #248

dplassgit commented 8 months ago

And index checks