| 1363 | } |
| 1364 | |
| 1365 | Result 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 | |
| 1374 | Result BinaryReaderIR::OnSimdLaneOpExpr(Opcode opcode, uint64_t value) { |
| 1375 | return AppendExpr(std::make_unique<SimdLaneOpExpr>(opcode, value)); |