Lines Matching defs:ElemKind
1684 auto ElemKind = readVaruint32(Ctx);
1686 Segment.ElemKind = parseValType(Ctx, ElemKind);
1687 if (Segment.ElemKind != wasm::ValType::FUNCREF &&
1688 Segment.ElemKind != wasm::ValType::EXTERNREF &&
1689 Segment.ElemKind != wasm::ValType::EXNREF &&
1690 Segment.ElemKind != wasm::ValType::OTHERREF) {
1695 if (ElemKind != 0)
1698 Segment.ElemKind = wasm::ValType::FUNCREF;
1702 Segment.ElemKind = ElemType;
1704 Segment.ElemKind = wasm::ValType::FUNCREF;