| 1398 | } |
| 1399 | |
| 1400 | Result 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 | |
| 1410 | Result BinaryReaderInterp::OnLocalTeeExpr(Index local_index) { |
| 1411 | CHECK_RESULT( |
nothing calls this directly
no test coverage detected