| 96 | void FormChecker::addType(const AST::SubType &Type) { Types.push_back(&Type); } |
| 97 | |
| 98 | void FormChecker::addFunc(const uint32_t TypeIdx, const bool IsImport) { |
| 99 | if (Types.size() > TypeIdx) { |
| 100 | Funcs.emplace_back(TypeIdx); |
| 101 | } |
| 102 | if (IsImport) { |
| 103 | NumImportFuncs++; |
| 104 | } |
| 105 | } |
| 106 | |
| 107 | void FormChecker::addTable(const AST::TableType &Tab) { |
| 108 | Tables.emplace_back(convAddrTypeToTypeCode(Tab.getLimit().getAddrType()), |
no test coverage detected