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

Method GetLabel

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

Source from the content-addressed store, hash-verified

400 filename_(filename) {}
401
402Label* BinaryReaderInterp::GetLabel(Index depth) {
403 assert(depth < label_stack_.size());
404 return &label_stack_[label_stack_.size() - depth - 1];
405}
406
407Label* BinaryReaderInterp::GetNearestTryLabel(Index depth) {
408 for (size_t i = depth; i < label_stack_.size(); i++) {

Callers 3

GetBrDropKeepCountMethod · 0.45
OnEndExprMethod · 0.45
OnTryTableExprMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected