| 141 | } |
| 142 | |
| 143 | Expect<void> |
| 144 | Executor::runStructSetOp(Runtime::StackManager &StackMgr, const ValVariant &Val, |
| 145 | const uint32_t TypeIdx, const uint32_t Off, |
| 146 | const AST::Instruction &Instr) const noexcept { |
| 147 | const RefVariant Ref = StackMgr.pop().get<RefVariant>(); |
| 148 | EXPECTED_TRY( |
| 149 | structSet(StackMgr, Ref, Val, TypeIdx, Off).map_error([&](auto E) { |
| 150 | return logError(E, Instr); |
| 151 | })); |
| 152 | return {}; |
| 153 | } |
| 154 | |
| 155 | Expect<void> Executor::runArrayNewOp(Runtime::StackManager &StackMgr, |
| 156 | const uint32_t TypeIdx, |
nothing calls this directly
no test coverage detected