diff options
author | Alon Zakai <azakai@google.com> | 2021-12-01 09:07:36 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-01 09:07:36 -0800 |
commit | 1e659e373d46a588938b80db4efc5c9c05067b11 (patch) | |
tree | fac58031cfaeb0d21af4d703c9b3ef0fd5fd34d4 /test/binaryen.js/optimize-levels.js | |
parent | 5f6911f1f1fcae058bf77720f04e1166bafca8e3 (diff) | |
download | binaryen-1e659e373d46a588938b80db4efc5c9c05067b11.tar.gz binaryen-1e659e373d46a588938b80db4efc5c9c05067b11.tar.bz2 binaryen-1e659e373d46a588938b80db4efc5c9c05067b11.zip |
[NFC] Avoid some unnecessary copies of PassOptions (#4361)
PassOptions is a fairly large structure and even includes a std::map. I also
have plans to add further fields there to make it even larger. Before doing that
I noticed that in some places we copy it instead of being consistent and taking
it by reference, which this PR fixes.
Diffstat (limited to 'test/binaryen.js/optimize-levels.js')
0 files changed, 0 insertions, 0 deletions