| 65 | } |
| 66 | |
| 67 | std::string spvDecodeLiteralStringOperand(const spv_parsed_instruction_t& inst, |
| 68 | const uint16_t operand_index) { |
| 69 | assert(operand_index < inst.num_operands); |
| 70 | const spv_parsed_operand_t& operand = inst.operands[operand_index]; |
| 71 | |
| 72 | return spvtools::utils::MakeString(inst.words + operand.offset, |
| 73 | operand.num_words); |
| 74 | } |
| 75 | |
| 76 | namespace { |
| 77 |
no test coverage detected