| 222 | } |
| 223 | type segIdx uint16 |
| 224 | type autoGrowingCallFrameStack struct { |
| 225 | segments []*callFrameStackSegment |
| 226 | segIdx segIdx |
| 227 | // segSp is the number of frames in the current segment which are used. Full 'sp' value is segIdx * FramesPerSegment + segSp. |
| 228 | // It points to the next stack slot to use, so 0 means to use the 0th element in the segment, and a value of |
| 229 | // FramesPerSegment indicates that the segment is full and cannot accommodate another frame. |
| 230 | segSp uint8 |
| 231 | } |
| 232 | |
| 233 | var segmentPool sync.Pool |
| 234 |
nothing calls this directly
no outgoing calls
no test coverage detected