Skip to content

Commit

Permalink
[NFC] Simplify TypeGraphWalker in wasm-type.cpp (#7143)
Browse files Browse the repository at this point in the history
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
tlively authored Dec 10, 2024
1 parent e9f693d commit 725f76d
Showing 1 changed file with 139 additions and 213 deletions.
Loading

0 comments on commit 725f76d

Please sign in to comment.