| 569 | } |
| 570 | |
| 571 | Instruction* ValidationState_t::AddOrderedInstruction( |
| 572 | const spv_parsed_instruction_t* inst) { |
| 573 | ordered_instructions_.emplace_back(inst); |
| 574 | ordered_instructions_.back().SetLineNum(ordered_instructions_.size()); |
| 575 | return &ordered_instructions_.back(); |
| 576 | } |
| 577 | |
| 578 | // Improves diagnostic messages by collecting names of IDs |
| 579 | void ValidationState_t::RegisterDebugInstruction(const Instruction* inst) { |
no test coverage detected