diff options
author | Max Graey <maxgraey@gmail.com> | 2022-08-30 23:01:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-30 13:01:04 -0700 |
commit | da24ef6ed7055f64299fce22a051ba0e85284c23 (patch) | |
tree | ca48e2a64c3ee85f41df3640483186e87cb7c661 /src/passes/Strip.cpp | |
parent | e50ef7fa62425fb6687932af393fb86589ca5ac0 (diff) | |
download | binaryen-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