compiler speed improvement (#1547)

This commit is contained in:
water111
2022-06-24 18:21:24 -04:00
committed by GitHub
parent 80e84f2225
commit 628ce47b2e
13 changed files with 254 additions and 268 deletions
+4 -1
View File
@@ -220,4 +220,7 @@
The compiler is now much more aggressive in where and how it expands macros and handles expressions at compiler time.
- Several places where macros could be incorrectly executed more than once (possibly causing unwanted side effects) have been fixed.
- Fixed bug in size calculation of non-inline stack arrays. Previous behavior was a compiler assert.
- Correctly handle `mod` for unsigned numbers. Previous behavior was to treat all inputs as 32-bit signed integers.
- Correctly handle `mod` for unsigned numbers. Previous behavior was to treat all inputs as 32-bit signed integers.
## V1.0 Revised constant propagation, speed improvements
Improved error messages around macros