MCPcopy Create free account
hub / github.com/akyoto/q / needsStackFrame

Method needsStackFrame

src/core/needsStackFrame.go:6–8  ·  view source on GitHub ↗

needsStackFrame returns true if the function needs a stack frame.

()

Source from the content-addressed store, hash-verified

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

Callers 1

AssembleMethod · 0.95

Calls 1

IsLeafMethod · 0.95

Tested by

no test coverage detected