Change-Id: I0d8128668fc7a80b29aabc58dbc9a2929b889ec9
Reviewed-on: https://go-review.googlesource.com/c/go/+/358614
Trust: Cherry Mui <cherryyz@google.com>
Trust: Daniel Martà <mvdan@mvdan.cc>
Reviewed-by: Daniel Martà <mvdan@mvdan.cc>
for _, b := range f.Blocks {
for _, v := range b.Values {
if v.Op.IsCall() && !v.Op.IsTailCall() {
- // tail call is not counted as it does not save retur PC or need a frame
+ // tail call is not counted as it does not save the return PC or need a frame
return false
}
}