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

Method incSortIndexSize

lib/validator/component_context.cpp:50–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50uint32_t ComponentContext::incSortIndexSize(Sort::SortType ST) noexcept {
51 switch (ST) {
52 case Sort::SortType::Func:
53 return addFunc();
54 case Sort::SortType::Value:
55 return addValue();
56 case Sort::SortType::Type:
57 return addType();
58 case Sort::SortType::Component:
59 return addComponent();
60 case Sort::SortType::Instance:
61 return addInstance();
62 default:
63 return 0;
64 }
65}
66
67uint32_t
68ComponentContext::incCoreSortIndexSize(Sort::CoreSortType ST) noexcept {

Callers 1

validateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected