| 9 | namespace Executor { |
| 10 | |
| 11 | Expect<void> |
| 12 | Executor::runMemorySizeOp(Runtime::StackManager &StackMgr, |
| 13 | Runtime::Instance::MemoryInstance &MemInst) { |
| 14 | // Push SZ = page size to the stack. |
| 15 | const auto AddrType = MemInst.getMemoryType().getLimit().getAddrType(); |
| 16 | StackMgr.push(emplaceAddr(MemInst.getPageSize(), AddrType)); |
| 17 | return {}; |
| 18 | } |
| 19 | |
| 20 | Expect<void> |
| 21 | Executor::runMemoryGrowOp(Runtime::StackManager &StackMgr, |
nothing calls this directly
no test coverage detected