Improved ssa compiler
All checks were successful
/ test (push) Successful in 15s

This commit is contained in:
Eduard Urbach 2025-07-02 16:55:24 +02:00
parent c9c6b94c18
commit 3301cf5542
Signed by: akyoto
GPG key ID: 49226B848C78F6C8
49 changed files with 690 additions and 262 deletions

9
src/ssa2asm/Count.go Normal file
View file

@ -0,0 +1,9 @@
package ssa2asm
// Counter is the data type for counters.
type Counter uint16
// Count stores how often a certain statement appeared so we can generate a unique label from it.
type Count struct {
Data Counter
}