| 729 | } |
| 730 | |
| 731 | inline uint64_t getMaxAddress(const AddressType AT) noexcept { |
| 732 | switch (AT) { |
| 733 | case AddressType::I32: |
| 734 | return static_cast<uint64_t>(std::numeric_limits<uint32_t>::max()); |
| 735 | case AddressType::I64: |
| 736 | return static_cast<uint64_t>(std::numeric_limits<uint64_t>::max()); |
| 737 | default: |
| 738 | assumingUnreachable(); |
| 739 | } |
| 740 | } |
| 741 | |
| 742 | // <<<<<<<< Functions to access address value from ValVariant <<<<<<<<<<<<<<<<<< |
| 743 |
no outgoing calls
no test coverage detected