diff options
author | Ashley Nelson <nashley@google.com> | 2022-10-07 17:14:50 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-07 17:14:50 -0700 |
commit | 2f722471e55b3bc7c013763d6dc9043fba7317d8 (patch) | |
tree | 872e5bdd62354348f17beb0b85576032f1ab94f2 /src/passes/PostEmscripten.cpp | |
parent | ada164df40f9b590f546dfecdddecc3894e345ae (diff) | |
download | binaryen-2f722471e55b3bc7c013763d6dc9043fba7317d8.tar.gz binaryen-2f722471e55b3bc7c013763d6dc9043fba7317d8.tar.bz2 binaryen-2f722471e55b3bc7c013763d6dc9043fba7317d8.zip |
Validate memory initial < max only if memory hasMax (#5125)
Making a change to wasm-validator so that Memory::kUnlimitedSize is treated properly like an unlimited case. The check for whether memory.initial < memory.max will only happen if memory.hasMax() — meaning if memory.max is not set to kUnlimitedSize.
Diffstat (limited to 'src/passes/PostEmscripten.cpp')
0 files changed, 0 insertions, 0 deletions