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

View file

@ -10,6 +10,7 @@ type Parameter struct {
Index uint8
Name string
Typ types.Type
Id
Liveness
Source
}
@ -32,6 +33,10 @@ func (v *Parameter) IsConst() bool {
return true
}
func (v *Parameter) Debug() string {
return v.String()
}
func (v *Parameter) String() string {
return fmt.Sprintf("in[%d]", v.Index)
}