summaryrefslogtreecommitdiff
path: root/src/passes/GlobalEffects.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2023-08-02 15:52:01 -0700
committerGitHub <noreply@github.com>2023-08-02 15:52:01 -0700
commit138aff44c56bdcc0c036a1e11a19ea518331e6ba (patch)
tree5a646195ec3fb0ca6662158e845df2a492b35f18 /src/passes/GlobalEffects.cpp
parent7df30640820c9b4acfc69ffc7616809a727d1241 (diff)
downloadbinaryen-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 'src/passes/GlobalEffects.cpp')
0 files changed, 0 insertions, 0 deletions