Added ssa tests
All checks were successful
/ test (push) Successful in 15s

This commit is contained in:
Eduard Urbach 2025-06-30 13:34:15 +02:00
parent 643f17af8e
commit a1f6c66736
Signed by: akyoto
GPG key ID: 49226B848C78F6C8
11 changed files with 221 additions and 33 deletions

View file

@ -36,7 +36,7 @@ func NewFunction(name string, file *fs.File) *Function {
Name: name,
File: file,
UniqueName: fmt.Sprintf("%s.%s", file.Package, name),
Identifiers: make(map[string]ssa.Value),
Identifiers: make(map[string]ssa.Value, 8),
IR: ssa.IR{
Blocks: []*ssa.Block{
{Instructions: make([]ssa.Value, 0, 8)},