diff options
author | Alon Zakai <azakai@google.com> | 2023-08-02 15:52:01 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-02 15:52:01 -0700 |
commit | 138aff44c56bdcc0c036a1e11a19ea518331e6ba (patch) | |
tree | 5a646195ec3fb0ca6662158e845df2a492b35f18 /test/gtest/stringify.cpp | |
parent | 7df30640820c9b4acfc69ffc7616809a727d1241 (diff) | |
download | binaryen-138aff44c56bdcc0c036a1e11a19ea518331e6ba.tar.gz binaryen-138aff44c56bdcc0c036a1e11a19ea518331e6ba.tar.bz2 binaryen-138aff44c56bdcc0c036a1e11a19ea518331e6ba.zip |
[NFC] Remove some unneeded cruft from PossibleContents::intersect() (#5854)
In order of appearance in this diff:
* Use heapType rather than otherHeapType when either will do, for brevity.
* We checked isNull after checking for isLiteral (line 173), but every null is a literal.
* Calling setNoneOrNull simplifies some repetitive code.
* We checked isLiteral yet again lower down.
Diffstat (limited to 'test/gtest/stringify.cpp')
0 files changed, 0 insertions, 0 deletions