diff options
author | Thomas Lively <tlively@google.com> | 2024-08-13 00:34:19 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-12 21:34:19 -0700 |
commit | 9ce4b8a47b15c324b170f7572829532b7e5bfe47 (patch) | |
tree | d543ea4f99d2d8eb35749365ddef666455052c1f /src/ir/module-utils.cpp | |
parent | d7955a34e332a78cc71bf77800114cba008185bb (diff) | |
download | binaryen-9ce4b8a47b15c324b170f7572829532b7e5bfe47.tar.gz binaryen-9ce4b8a47b15c324b170f7572829532b7e5bfe47.tar.bz2 binaryen-9ce4b8a47b15c324b170f7572829532b7e5bfe47.zip |
[NFC] Separate out GlobalTypeRewriter::mapTypeNames (#6829)
Previously a module's type names were updated in
`GlobalTypeRewriter::rebuildTypes`, which builds new versions of the
existing types, rather than `GlobalTypeRewriter::mapTypes`, which
otherwise handles replacing old types with new types everywhere in a
module, but should not necessarily replace names. So that users of
`mapTypes` who are building their own versions of existing types can
also easily update type names, split type name mapping logic out into a
new method `GlobalTypeRewriter::mapTypeNames`.
Diffstat (limited to 'src/ir/module-utils.cpp')
0 files changed, 0 insertions, 0 deletions