MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / matchType

Method matchType

include/ast/type.h:301–304  ·  view source on GitHub ↗

Validator: Match two defined types in the same module.

Source from the content-addressed store, hash-verified

299public:
300 /// Validator: Match two defined types in the same module.
301 static bool matchType(Span<const SubType *const> TypeList, uint32_t ExpIdx,
302 uint32_t GotIdx) noexcept {
303 return matchType(TypeList, ExpIdx, TypeList, GotIdx);
304 }
305
306 /// Validator: Match two composite types in the same module.
307 static bool matchType(Span<const SubType *const> TypeList,

Callers

nothing calls this directly

Calls 12

getContentTypeCodeMethod · 0.80
getParamTypesMethod · 0.80
getSuperTypeIndicesMethod · 0.80
isRefTypeMethod · 0.80
isNullableRefTypeMethod · 0.80
isAbsHeapTypeMethod · 0.80
getHeapTypeCodeMethod · 0.80
expandMethod · 0.80
getValMutMethod · 0.45
sizeMethod · 0.45
getCodeMethod · 0.45
getTypeIndexMethod · 0.45

Tested by

no test coverage detected