fix crash when indexing on a label or subroutine name

working on multiplexer
This commit is contained in:
Irmen de Jong
2025-09-23 01:19:39 +02:00
parent 54fa72fa98
commit 09d1cb6925
3 changed files with 56 additions and 40 deletions
-2
View File
@@ -161,8 +161,6 @@ Libraries
Optimizations
-------------
- while c64.RASTER!=lsb(line) or c64.SCROLY&$80==0 { } generates code that really wants to use 1/0 boolean values as intermediates. why? can't that be optimized away? I want it to use th BIT instruction on the msb even
- check that expressions such as targetvar = value1 + value2 , targetvar = value1 ^ value2 etc. use the target variable directly and not use needless temp var / registers
- Port benchmarks from https://thred.github.io/c-bench-64/ to prog8 and see how it stacks up.
- Since fixing the missing zp-var initialization, programs grew in size again because STZ's reappeared. Can we add more intelligent (and correct!) optimizations to remove those STZs that might be redundant again?
- in Identifier: use typedarray of strings instead of listOf? Other places?