diff options
author | Alon Zakai <azakai@google.com> | 2022-09-26 15:11:22 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-26 15:11:22 -0700 |
commit | eb42407e6bc027a40cc569ad0c1b915c4f285b60 (patch) | |
tree | 03ba08b7a3142bbceea1d1e17445f66ebe27531e /src/passes/Metrics.cpp | |
parent | b23b47d54a2fb02b048e7eb8de8043358599ec8b (diff) | |
download | binaryen-eb42407e6bc027a40cc569ad0c1b915c4f285b60.tar.gz binaryen-eb42407e6bc027a40cc569ad0c1b915c4f285b60.tar.bz2 binaryen-eb42407e6bc027a40cc569ad0c1b915c4f285b60.zip |
[GUFA] Optimize functions not taken by reference better (#5085)
This moves the logic to add connections from signatures to functions from the top level
into the RefFunc logic. That way we only add those connections to functions that
actually have a RefFunc, which avoids us thinking that a function without one can be
reached by a call_ref of its type.
Has a small but non-zero benefit on j2wasm.
Diffstat (limited to 'src/passes/Metrics.cpp')
0 files changed, 0 insertions, 0 deletions