diff options
author | Ashley Nelson <nashley@google.com> | 2022-11-11 09:38:21 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-11 09:38:21 -0800 |
commit | b7697808988037469d352b044bd6b2469f99da55 (patch) | |
tree | 099cc09af322e2149b6437df90e0751e5cd39ef6 /src/ir/memory-utils.cpp | |
parent | 38c152e0d8bc593c2861c251cc2a875cfb1a21f0 (diff) | |
download | binaryen-b7697808988037469d352b044bd6b2469f99da55.tar.gz binaryen-b7697808988037469d352b044bd6b2469f99da55.tar.bz2 binaryen-b7697808988037469d352b044bd6b2469f99da55.zip |
Handles memory.grow failure in MultiMemoryLowering Pass (#5241)
Per the wasm spec, memory.grow instructions should return -1 when there is a failure to allocate enough memory. This PR adds support for returning this error code.
Diffstat (limited to 'src/ir/memory-utils.cpp')
0 files changed, 0 insertions, 0 deletions