Lines Matching defs:ElemKind
1692 auto ElemKind = readVaruint32(Ctx);
1694 Segment.ElemKind = parseValType(Ctx, ElemKind);
1695 if (Segment.ElemKind != wasm::ValType::FUNCREF &&
1696 Segment.ElemKind != wasm::ValType::EXTERNREF &&
1697 Segment.ElemKind != wasm::ValType::EXNREF &&
1698 Segment.ElemKind != wasm::ValType::OTHERREF) {
1703 if (ElemKind != 0)
1706 Segment.ElemKind = wasm::ValType::FUNCREF;
1710 Segment.ElemKind = ElemType;
1712 Segment.ElemKind = wasm::ValType::FUNCREF;