diff options
author | Alon Zakai <azakai@google.com> | 2024-09-17 16:18:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-17 16:18:14 -0700 |
commit | a99b48a4502628d46683fc85697251db3a8069b0 (patch) | |
tree | 0c834bb0d9a20ca4472faa726a3cc81afc71bc8e /src/wasm-traversal.h | |
parent | bdc7ce0fbb2373d0ce666782fdce88f3bd8d6f17 (diff) | |
download | binaryen-a99b48a4502628d46683fc85697251db3a8069b0.tar.gz binaryen-a99b48a4502628d46683fc85697251db3a8069b0.tar.bz2 binaryen-a99b48a4502628d46683fc85697251db3a8069b0.zip |
[NFC] Make the GCData constructor a move constructor (#6946)
This avoids creating a large Literals (SmallVector of Literal) and then copying it. All the places
that construct GCData do not need the Literals afterwards.
This gives a 7% speedup on the --precompute benchmark from #6931
Diffstat (limited to 'src/wasm-traversal.h')
0 files changed, 0 insertions, 0 deletions