MCPcopy Create free account
hub / github.com/WebAssembly/wabt / GetReturnDropKeepCount

Method GetReturnDropKeepCount

src/interp/binary-reader-interp.cc:453–459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

451}
452
453Result BinaryReaderInterp::GetReturnDropKeepCount(Index* out_drop_count,
454 Index* out_keep_count) {
455 CHECK_RESULT(GetBrDropKeepCount(label_stack_.size() - 1, out_drop_count,
456 out_keep_count));
457 *out_drop_count += validator_.GetLocalCount();
458 return Result::Ok;
459}
460
461Result BinaryReaderInterp::GetReturnCallDropKeepCount(const FuncType& func_type,
462 Index keep_extra,

Callers

nothing calls this directly

Calls 2

GetLocalCountMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected