diff options
Diffstat (limited to 'src/interp.h')
-rw-r--r-- | src/interp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interp.h b/src/interp.h index 48863deb..dcbf9385 100644 --- a/src/interp.h +++ b/src/interp.h @@ -85,10 +85,10 @@ static const IstreamOffset kInvalidIstreamOffset = ~0; // struct { // IstreamOffset offset; // uint32_t drop_count; -// uint8_t keep_count; +// uint32_t keep_count; // }; #define WABT_TABLE_ENTRY_SIZE \ - (sizeof(IstreamOffset) + sizeof(uint32_t) + sizeof(uint8_t)) + (sizeof(IstreamOffset) + sizeof(uint32_t) + sizeof(uint32_t)) #define WABT_TABLE_ENTRY_OFFSET_OFFSET 0 #define WABT_TABLE_ENTRY_DROP_OFFSET sizeof(IstreamOffset) #define WABT_TABLE_ENTRY_KEEP_OFFSET (sizeof(IstreamOffset) + sizeof(uint32_t)) @@ -522,7 +522,7 @@ class Thread { template <typename T> ValueTypeRep<T> PopRep(); - void DropKeep(uint32_t drop_count, uint8_t keep_count); + void DropKeep(uint32_t drop_count, uint32_t keep_count); Result PushCall(const uint8_t* pc) WABT_WARN_UNUSED; IstreamOffset PopCall(); |