diff options
author | Alon Zakai <azakai@google.com> | 2024-08-15 10:27:37 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-15 10:27:37 -0700 |
commit | d5675780f45f4e2994787fd7dbc5283a6c0162f0 (patch) | |
tree | bf30f2c53dadc35731a07251d1876625a7b60605 /scripts/test/shared.py | |
parent | ad0802226a180d9797d17bb7fee391c0d62f9913 (diff) | |
download | binaryen-d5675780f45f4e2994787fd7dbc5283a6c0162f0.tar.gz binaryen-d5675780f45f4e2994787fd7dbc5283a6c0162f0.tar.bz2 binaryen-d5675780f45f4e2994787fd7dbc5283a6c0162f0.zip |
[NFC] Clean up Literal copy constructor (#6841)
Diff without whitespace is smaller.
* HeapType::ext was handled in two places. The second place was wrong, but not reached.
* Near the end all we have left are refs, so no need to check isRef etc.
* Simplify the code to get the heap type once.
Diffstat (limited to 'scripts/test/shared.py')
0 files changed, 0 insertions, 0 deletions