summaryrefslogtreecommitdiff
path: root/src/compiler-support.h
diff options
context:
space:
mode:
authorDaniel Wirtz <dcode@dcode.io>2020-09-16 15:46:22 +0200
committerGitHub <noreply@github.com>2020-09-16 15:46:22 +0200
commita96e8310e1a58c0a43b2d0e2ff4f9db24dd9a18a (patch)
treee1c184b4e1320207cdb7b059d83cb232604b93ce /src/compiler-support.h
parentbced89d2986bde990bf9bf52306e55772b02707e (diff)
downloadbinaryen-a96e8310e1a58c0a43b2d0e2ff4f9db24dd9a18a.tar.gz
binaryen-a96e8310e1a58c0a43b2d0e2ff4f9db24dd9a18a.tar.bz2
binaryen-a96e8310e1a58c0a43b2d0e2ff4f9db24dd9a18a.zip
Fix 64-bit UB in BinaryenLiteral (#3136)
The maximum storage size of type ids changed with the introduction of tuples, with their type id being the memory address of the canonicalized type vector. This change aligns the storage type of type ids in `BinaryenLiteral` with `Literal` by changing the type from `int32_t` to `uintptr_t`.
Diffstat (limited to 'src/compiler-support.h')
0 files changed, 0 insertions, 0 deletions