Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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.
- Loading branch information