needsStackFrame returns true if the function needs a stack frame.
()
| 4 | |
| 5 | // needsStackFrame returns true if the function needs a stack frame. |
| 6 | func (f *Function) needsStackFrame() bool { |
| 7 | return f.Env.Build.Arch == config.ARM && !f.IsLeaf() && f != f.Env.Init |
| 8 | } |