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

Method EndFunctionBody

src/binary-reader-ir.cc:1365–1372  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1363}
1364
1365Result BinaryReaderIR::EndFunctionBody(Index index) {
1366 current_func_ = nullptr;
1367 if (!label_stack_.empty()) {
1368 PrintError("function %" PRIindex " missing end marker", index);
1369 return Result::Error;
1370 }
1371 return Result::Ok;
1372}
1373
1374Result BinaryReaderIR::OnSimdLaneOpExpr(Opcode opcode, uint64_t value) {
1375 return AppendExpr(std::make_unique<SimdLaneOpExpr>(opcode, value));

Callers 1

CheckModuleMethod · 0.45

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected