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

Function EXPECTED_TRY

lib/loader/ast/instruction.cpp:135–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133 // Read the opcode and check for errors.
134 uint64_t Offset = FMgr.getOffset();
135 EXPECTED_TRY(OpCode Code, loadOpCode().map_error([this](auto E) {
136 return logLoadError(E, FMgr.getLastOffset(), ASTNodeAttr::Instruction);
137 }));
138
139 // Check with proposals.
140 if (auto Res = Conf.isInstrNeedProposal(Code); unlikely(!!Res)) {

Callers 2

loadInstrSeqMethod · 0.70
loadInstructionMethod · 0.70

Calls 1

getLastOffsetMethod · 0.80

Tested by

no test coverage detected