| 250 | } |
| 251 | |
| 252 | Expect<void> |
| 253 | Executor::runArrayFillOp(Runtime::StackManager &StackMgr, const uint32_t Cnt, |
| 254 | const ValVariant &Val, const uint32_t TypeIdx, |
| 255 | const AST::Instruction &Instr) const noexcept { |
| 256 | const uint32_t Idx = StackMgr.pop().get<uint32_t>(); |
| 257 | const RefVariant Ref = StackMgr.pop().get<RefVariant>(); |
| 258 | EXPECTED_TRY( |
| 259 | arrayFill(StackMgr, Ref, Val, TypeIdx, Idx, Cnt).map_error([&](auto E) { |
| 260 | return logError(E, Instr, |
| 261 | [&]() { return logArrayOOB(E, Idx, Cnt, Ref); }); |
| 262 | })); |
| 263 | return {}; |
| 264 | } |
| 265 | |
| 266 | Expect<void> |
| 267 | Executor::runArrayCopyOp(Runtime::StackManager &StackMgr, const uint32_t Cnt, |
nothing calls this directly
no test coverage detected