summaryrefslogtreecommitdiff
path: root/src/passes/Strip.cpp
diff options
context:
space:
mode:
authorMax Graey <maxgraey@gmail.com>2022-08-30 23:01:04 +0300
committerGitHub <noreply@github.com>2022-08-30 13:01:04 -0700
commitda24ef6ed7055f64299fce22a051ba0e85284c23 (patch)
treeca48e2a64c3ee85f41df3640483186e87cb7c661 /src/passes/Strip.cpp
parente50ef7fa62425fb6687932af393fb86589ca5ac0 (diff)
downloadbinaryen-da24ef6ed7055f64299fce22a051ba0e85284c23.tar.gz
binaryen-da24ef6ed7055f64299fce22a051ba0e85284c23.tar.bz2
binaryen-da24ef6ed7055f64299fce22a051ba0e85284c23.zip
[C/JS API] Avoid erroring in BinaryenSetMemoryImport etc. if the entity exists (#4991)
If it exists, just turn it into an import. If not, then as before we create it + turn it into an import.
Diffstat (limited to 'src/passes/Strip.cpp')
0 files changed, 0 insertions, 0 deletions