diff options
author | Thomas Lively <tlively@google.com> | 2024-12-10 12:07:29 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-10 12:07:29 -0800 |
commit | 725f76d6d2f81a1ea558c28f28aa144c65f9bb14 (patch) | |
tree | ceb6d2c3031283d2d899025e64e19d0a9e17cd3f /src/wasm/wasm-ir-builder.cpp | |
parent | e9f693d40f0479aa218dd5664b22402994d2db29 (diff) | |
download | binaryen-725f76d6d2f81a1ea558c28f28aa144c65f9bb14.tar.gz binaryen-725f76d6d2f81a1ea558c28f28aa144c65f9bb14.tar.bz2 binaryen-725f76d6d2f81a1ea558c28f28aa144c65f9bb14.zip |
[NFC] Simplify TypeGraphWalker in wasm-type.cpp (#7143)
Co-locate the declaration and implementation of TypeGraphWalkerBase and
its subtypes in wasm-type.cpp and simplify the implementation. Remove
the preVisit and postVisit tasks for both Types and HeapTypes since
overriding scanType and scanHeapType is sufficient for all users. Stop
scanning the HeapTypes in reference types because a follow-on change
(#7142) will make that much more complicated, and it turns out that it
is not necessary.
Diffstat (limited to 'src/wasm/wasm-ir-builder.cpp')
0 files changed, 0 insertions, 0 deletions