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

Method addTable

lib/validator/formchecker.cpp:107–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107void FormChecker::addTable(const AST::TableType &Tab) {
108 Tables.emplace_back(convAddrTypeToTypeCode(Tab.getLimit().getAddrType()),
109 Tab.getRefType());
110}
111
112void FormChecker::addMemory(const AST::MemoryType &Mem) {
113 Mems.push_back(convAddrTypeToTypeCode(Mem.getLimit().getAddrType()));

Callers 2

validateMethod · 0.45
instantiateMethod · 0.45

Calls 2

convAddrTypeToTypeCodeFunction · 0.85
getAddrTypeMethod · 0.80

Tested by

no test coverage detected