| 835 | } |
| 836 | |
| 837 | Result BinaryReaderIR::OnOpcode(Opcode opcode) { |
| 838 | std::unique_ptr<CodeMetadataExpr> metadata = |
| 839 | code_metadata_queue_.pop_match(current_func_, GetLocation().offset - 1); |
| 840 | if (metadata) { |
| 841 | return AppendExpr(std::move(metadata)); |
| 842 | } |
| 843 | module_->features_used.simd |= (opcode.GetResultType() == Type::V128); |
| 844 | module_->features_used.threads |= (opcode.GetPrefix() == 0xfe); |
| 845 | return Result::Ok; |
| 846 | } |
| 847 | |
| 848 | Result BinaryReaderIR::OnAtomicLoadExpr(Opcode opcode, |
| 849 | Index memidx, |
nothing calls this directly
no test coverage detected