summaryrefslogtreecommitdiff
path: root/scripts/test/shared.py
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2024-08-15 10:27:37 -0700
committerGitHub <noreply@github.com>2024-08-15 10:27:37 -0700
commitd5675780f45f4e2994787fd7dbc5283a6c0162f0 (patch)
treebf30f2c53dadc35731a07251d1876625a7b60605 /scripts/test/shared.py
parentad0802226a180d9797d17bb7fee391c0d62f9913 (diff)
downloadbinaryen-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