diff options
author | Alon Zakai <azakai@google.com> | 2024-02-13 17:09:30 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-13 17:09:30 -0800 |
commit | 9784f012848a7eb321c2037bdb363dfe0eab8bc9 (patch) | |
tree | 413f22ba04b2c4f8191e2d399cb6e4e6461d74ac /src/support/json.cpp | |
parent | 78516ae1febad02ebf3162f5db9debc8904e8e74 (diff) | |
download | binaryen-9784f012848a7eb321c2037bdb363dfe0eab8bc9.tar.gz binaryen-9784f012848a7eb321c2037bdb363dfe0eab8bc9.tar.bz2 binaryen-9784f012848a7eb321c2037bdb363dfe0eab8bc9.zip |
StringLowering: Use an array16 type in its own rec group (#6302)
The input module might use an array of 16-bit elements type that is somewhere in a
giant rec group, but that is not valid for imported strings: that array type is now on an
import and must match the expected ABI, which is to be in its own personal rec group.
The old array16 type remains in the module after this transformation, but all uses of it
are replaced with uses of the new array16 type.
Also move makeImports to after updateTypes: there are no types to update in the new
imports. That does not matter but it can make debugging less pleasant, so improve it.
Diffstat (limited to 'src/support/json.cpp')
0 files changed, 0 insertions, 0 deletions