summaryrefslogtreecommitdiff
path: root/src/wasm/wasm-debug.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2024-06-25 09:05:05 -0700
committerGitHub <noreply@github.com>2024-06-25 09:05:05 -0700
commit4e07d867f8c4cbcf0180ad439a08c46353bc3751 (patch)
tree125d432f88ba51d94f89832ddb79ad114552489c /src/wasm/wasm-debug.cpp
parent78b3c40310e886fb93480008fc55cdcd4fffa52c (diff)
downloadbinaryen-4e07d867f8c4cbcf0180ad439a08c46353bc3751.tar.gz
binaryen-4e07d867f8c4cbcf0180ad439a08c46353bc3751.tar.bz2
binaryen-4e07d867f8c4cbcf0180ad439a08c46353bc3751.zip
[NFC] Remove a minor compile-time optimization in Heap2Local (#6699)
We tracked which expressions we saw an allocated struct/array reach, and then quickly exited when another one did (as when two allocations mix, we can optimize neither). It turns out that this helps very little in actual measurements (looks like within noise - likely we are ruling out the un-optimizable cases early otherwise anyhow). Also the complexity it adds is a problem for an improvement I want to make to the pass, so remove it.
Diffstat (limited to 'src/wasm/wasm-debug.cpp')
0 files changed, 0 insertions, 0 deletions