Function contains the state that is required to produce assembly code.
| 9 | |
| 10 | // Function contains the state that is required to produce assembly code. |
| 11 | type Function struct { |
| 12 | IR |
| 13 | CPU *cpu.CPU |
| 14 | build *config.Build |
| 15 | FullName string |
| 16 | Assembler asm.Assembler |
| 17 | Preserved set.Ordered[cpu.Register] |
| 18 | Count count |
| 19 | stackSize uint |
| 20 | IsExit bool |
| 21 | needsFramePointer bool |
| 22 | hasStackFrame bool |
| 23 | hasExternCalls bool |
| 24 | } |
nothing calls this directly
no outgoing calls
no test coverage detected