| 1584 | } |
| 1585 | |
| 1586 | Id Builder::makeHitObjectEXTType() |
| 1587 | { |
| 1588 | Instruction *type; |
| 1589 | if (groupedTypes[enumCast(Op::OpTypeHitObjectEXT)].size() == 0) { |
| 1590 | type = new Instruction(getUniqueId(), NoType, Op::OpTypeHitObjectEXT); |
| 1591 | groupedTypes[enumCast(Op::OpTypeHitObjectEXT)].push_back(type); |
| 1592 | constantsTypesGlobals.push_back(std::unique_ptr<Instruction>(type)); |
| 1593 | module.mapInstruction(type); |
| 1594 | } else { |
| 1595 | type = groupedTypes[enumCast(Op::OpTypeHitObjectEXT)].back(); |
| 1596 | } |
| 1597 | |
| 1598 | return type->getResultId(); |
| 1599 | } |
| 1600 | Id Builder::makeHitObjectNVType() |
| 1601 | { |
| 1602 | Instruction *type; |
no test coverage detected