summaryrefslogtreecommitdiff
path: root/src/pass.h
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2024-09-12 10:26:25 -0700
committerGitHub <noreply@github.com>2024-09-12 10:26:25 -0700
commit0888f9c245cd864b9386f65ff54331f9fbe993b0 (patch)
tree7938f9a16094740bbc95e1f6a921b640d14da326 /src/pass.h
parent43ed681debe7928c894f2ae57823f08988d23475 (diff)
downloadbinaryen-0888f9c245cd864b9386f65ff54331f9fbe993b0.tar.gz
binaryen-0888f9c245cd864b9386f65ff54331f9fbe993b0.tar.bz2
binaryen-0888f9c245cd864b9386f65ff54331f9fbe993b0.zip
[NFC] Make Precompute use a lazy LocalGraph (#6934)
To do this, add locations and getInfluences to LazyLocalGraph. Both cannot really be computed in a fine-grained manner, so just compute them all on the first request. That is not as efficient as our lazy computation of getSets and setInfluences, but they are also less important, and this change makes the pass 20% faster.
Diffstat (limited to 'src/pass.h')
0 files changed, 0 insertions, 0 deletions