| 84 | } |
| 85 | |
| 86 | Expect<void> Executor::runBrOnNonNullOp(Runtime::StackManager &StackMgr, |
| 87 | const AST::Instruction &Instr, |
| 88 | AST::InstrView::iterator &PC) noexcept { |
| 89 | if (!StackMgr.getTop().get<RefVariant>().isNull()) { |
| 90 | return runBrOp(StackMgr, Instr, PC); |
| 91 | } |
| 92 | StackMgr.pop(); |
| 93 | return {}; |
| 94 | } |
| 95 | |
| 96 | Expect<void> Executor::runBrTableOp(Runtime::StackManager &StackMgr, |
| 97 | const AST::Instruction &Instr, |