summaryrefslogtreecommitdiff
path: root/src/ir/memory-utils.cpp
diff options
context:
space:
mode:
authorAshley Nelson <nashley@google.com>2022-11-11 09:38:21 -0800
committerGitHub <noreply@github.com>2022-11-11 09:38:21 -0800
commitb7697808988037469d352b044bd6b2469f99da55 (patch)
tree099cc09af322e2149b6437df90e0751e5cd39ef6 /src/ir/memory-utils.cpp
parent38c152e0d8bc593c2861c251cc2a875cfb1a21f0 (diff)
downloadbinaryen-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