diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-07-14 23:15:11 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2022-07-30 00:41:56 +0200 |
commit | 9c9a9ec383608287802bb2639a4ee6b7bbfd6793 (patch) | |
tree | 531d3c957ffdc5b91f5afee5a203a7fe64a6982f /LICENSE | |
parent | 41114a02a38a65956010bab95c4bff19af7ac1ed (diff) |
program: fix en/decoding debuginfo upvalue slots in precompiled bytecode
The sizeof(size_t) might differ from the sizeof(uint32_t) used to serialize
compiled bytecode, so extra care is needed to properly encode and decode
upvalue slot values which are defined as (size_t)-1 / 2 + n.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions