(layout: StructLayout)
| 2403 | } |
| 2404 | |
| 2405 | function computeRequired(layout: StructLayout) { |
| 2406 | for (const field of layout.fields) { |
| 2407 | if (field.optional) continue |
| 2408 | if (field.index < 32) layout.requiredMask |= 1 << field.index |
| 2409 | else layout.requiredWide = true |
| 2410 | } |
| 2411 | } |
| 2412 | |
| 2413 | interface CompiledLayout { |
| 2414 | readonly layout: Layout |
no outgoing calls
no test coverage detected