| 317 | } |
| 318 | |
| 319 | void ValidationState_t::ProgressToNextLayoutSectionOrder() { |
| 320 | // Guard against going past the last element(kLayoutFunctionDefinitions) |
| 321 | if (current_layout_section_ <= kLayoutFunctionDefinitions) { |
| 322 | current_layout_section_ = |
| 323 | static_cast<ModuleLayoutSection>(current_layout_section_ + 1); |
| 324 | } |
| 325 | } |
| 326 | |
| 327 | bool ValidationState_t::IsOpcodeInPreviousLayoutSection(spv::Op op) { |
| 328 | ModuleLayoutSection section = |
no outgoing calls
no test coverage detected