| 132 | void FormChecker::addRef(const uint32_t FuncIdx) { Refs.emplace(FuncIdx); } |
| 133 | |
| 134 | void FormChecker::addLocal(const ValType &V, bool Initialized) { |
| 135 | Locals.emplace_back(V); |
| 136 | if (Initialized || V.isDefaultable()) { |
| 137 | LocalInits.push_back(static_cast<uint32_t>(Locals.size() - 1)); |
| 138 | Locals.back().IsInit = true; |
| 139 | } |
| 140 | } |
| 141 | |
| 142 | void FormChecker::addTag(const uint32_t TypeIdx) { Tags.push_back(TypeIdx); } |
| 143 |
no test coverage detected