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

Method OnLocalSetExpr

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

Source from the content-addressed store, hash-verified

1398}
1399
1400Result BinaryReaderInterp::OnLocalSetExpr(Index local_index) {
1401 // See comment in OnLocalGetExpr above.
1402 Index translated_local_index = TranslateLocalIndex(local_index);
1403 CHECK_RESULT(
1404 validator_.OnLocalSet(GetLocation(), Var(local_index, GetLocation())));
1405
1406 istream_.Emit(Opcode::LocalSet, translated_local_index);
1407 return Result::Ok;
1408}
1409
1410Result BinaryReaderInterp::OnLocalTeeExpr(Index local_index) {
1411 CHECK_RESULT(

Callers

nothing calls this directly

Calls 3

EmitMethod · 0.80
VarClass · 0.50
OnLocalSetMethod · 0.45

Tested by

no test coverage detected