diff options
author | Alon Zakai <azakai@google.com> | 2023-05-04 17:20:13 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-05 00:20:13 +0000 |
commit | 879d7bfb0fcd8335892677fd6d24a2f02218a6c2 (patch) | |
tree | c32785d40ba673d96ffb32a23e3ccc437b277503 /src/passes/CodePushing.cpp | |
parent | 7f8e4cbf6273c9b13b3a1a42f5e2833ea0d0f686 (diff) | |
download | binaryen-879d7bfb0fcd8335892677fd6d24a2f02218a6c2.tar.gz binaryen-879d7bfb0fcd8335892677fd6d24a2f02218a6c2.tar.bz2 binaryen-879d7bfb0fcd8335892677fd6d24a2f02218a6c2.zip |
[NFC] Track the kinds of items that names refer to in wasm-delegations-fields (#5690)
This makes delegations-fields track Kinds. That is, rather than say a field is
just a Name, we can say it is a name of kind Function. This allows users to
track references to functions, tables, memories, etc., in a simple and generic
way, avoiding duplicated code which we have atm. (In particular this will help
wasm-merge in the future.)
This also uses that functionality in two small places to show the benefits
(see memory-utils.cpp and MemoryPacking.cpp).
Diffstat (limited to 'src/passes/CodePushing.cpp')
0 files changed, 0 insertions, 0 deletions