Skip to content

Commit

Permalink
Increased GS code array size.
Browse files Browse the repository at this point in the history
  • Loading branch information
markkurossi committed Sep 18, 2023
1 parent e1718f1 commit d213fad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/ssa/program.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ func (prog *Program) GC() {
}
}

steps := make([]Step, 0, len(prog.Steps)*3/2)
steps := make([]Step, 0, len(prog.Steps)*2)

for i := len(prog.Steps) - 1; i >= 0; i-- {
step := &prog.Steps[i]
Expand Down

0 comments on commit d213fad

Please sign in to comment.