| 38 | } |
| 39 | |
| 40 | std::vector<Instruction*> Module::GetTypes() { |
| 41 | std::vector<Instruction*> type_insts; |
| 42 | for (auto& inst : types_values_) { |
| 43 | if (IsTypeInst(inst.opcode())) type_insts.push_back(&inst); |
| 44 | } |
| 45 | return type_insts; |
| 46 | } |
| 47 | |
| 48 | std::vector<const Instruction*> Module::GetTypes() const { |
| 49 | std::vector<const Instruction*> type_insts; |
no test coverage detected