diff options
author | Heejin Ahn <aheejin@gmail.com> | 2023-12-14 10:34:39 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-14 10:34:39 -0800 |
commit | cad983c975a05bc262437a6d7ed3a61020ef4e8d (patch) | |
tree | 5a208c87f48a10d0c2cee03bcb84e132e45cc48c /src/tools/wasm-merge.cpp | |
parent | bdd96e8c21d23a57a99dcca9d4d802ff471243c3 (diff) | |
download | binaryen-cad983c975a05bc262437a6d7ed3a61020ef4e8d.tar.gz binaryen-cad983c975a05bc262437a6d7ed3a61020ef4e8d.tar.bz2 binaryen-cad983c975a05bc262437a6d7ed3a61020ef4e8d.zip |
Remove empty _ARRAY/_VECTOR defines (NFC) (#6182)
`_VECTOR` or `_ARRAY` defines in `wasm-delegations-fields.def` are
supposed to be defined in terms of their non-vector/array counterparts
when undefined. This removes empty `_VECTOR`/`_ARRAY` defines when
including `wasm-delegations-fields.def`, while adding definitions for
`DELEGATE_GET_FIELD` in case it is missing.
Diffstat (limited to 'src/tools/wasm-merge.cpp')
-rw-r--r-- | src/tools/wasm-merge.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/tools/wasm-merge.cpp b/src/tools/wasm-merge.cpp index d3269e8fd..088317eec 100644 --- a/src/tools/wasm-merge.cpp +++ b/src/tools/wasm-merge.cpp @@ -202,13 +202,10 @@ void updateNames(Module& wasm, KindNameUpdates& kindNameUpdates) { #define DELEGATE_FIELD_CHILD(id, field) #define DELEGATE_FIELD_OPTIONAL_CHILD(id, field) #define DELEGATE_FIELD_INT(id, field) -#define DELEGATE_FIELD_INT_ARRAY(id, field) #define DELEGATE_FIELD_LITERAL(id, field) #define DELEGATE_FIELD_NAME(id, field) -#define DELEGATE_FIELD_NAME_VECTOR(id, field) #define DELEGATE_FIELD_SCOPE_NAME_DEF(id, field) #define DELEGATE_FIELD_SCOPE_NAME_USE(id, field) -#define DELEGATE_FIELD_SCOPE_NAME_USE_VECTOR(id, field) #define DELEGATE_FIELD_ADDRESS(id, field) #define DELEGATE_FIELD_NAME_KIND(id, field, kind) \ |