add get-enum-vals (#737)

This commit is contained in:
water111
2021-08-02 22:01:10 -04:00
committed by GitHub
parent 906db513cd
commit 4d76d2f11a
5 changed files with 58 additions and 1 deletions
+2 -1
View File
@@ -186,4 +186,5 @@
- Inline arrays of structures are now allowed with `stack-no-clear`.
- Creating arrays on the stack now must be done with `stack-no-clear` as they are not memset to 0 or constructed in any way.
- The register allocator has been dramatically improved and generates ~5x fewer spill instructions and is able to eliminate more moves.
- Added a `(print-debug-compiler-stats)` form to print out statistics related to register allocation and move elimination
- Added a `(print-debug-compiler-stats)` form to print out statistics related to register allocation and move elimination
- Added `get-enum-vals` which returns a list of pairs. Each pair is the name (symbol) and value (int) for each value in the enum