| 28 | } |
| 29 | |
| 30 | Expect<void> Executor::runGlobalGetOp(Runtime::StackManager &StackMgr, |
| 31 | uint32_t Idx) const noexcept { |
| 32 | auto *GlobInst = getGlobInstByIdx(StackMgr, Idx); |
| 33 | assuming(GlobInst); |
| 34 | StackMgr.push(GlobInst->getValue()); |
| 35 | return {}; |
| 36 | } |
| 37 | |
| 38 | Expect<void> Executor::runGlobalSetOp(Runtime::StackManager &StackMgr, |
| 39 | uint32_t Idx) const noexcept { |