Casts user_data as MockParseClient and invokes its Instruction().
| 137 | |
| 138 | // Casts user_data as MockParseClient and invokes its Instruction(). |
| 139 | spv_result_t invoke_instruction( |
| 140 | void* user_data, const spv_parsed_instruction_t* parsed_instruction) { |
| 141 | return static_cast<MockParseClient*>(user_data)->Instruction( |
| 142 | ParsedInstruction(*parsed_instruction)); |
| 143 | } |
| 144 | |
| 145 | // The SPIR-V module header words for the Khronos Assembler generator, |
| 146 | // for a module with an ID bound of 1. |
nothing calls this directly
no test coverage detected