summaryrefslogtreecommitdiff
path: root/src/passes/OptimizeInstructions.cpp
diff options
context:
space:
mode:
authorThomas Lively <7121787+tlively@users.noreply.github.com>2021-03-29 15:34:48 -0700
committerGitHub <noreply@github.com>2021-03-29 15:34:48 -0700
commit9b38e4394034d6f25f54fc471bb9ac8812815331 (patch)
tree9f438f8287f838e303f9c56970e7bb9ad16ebc79 /src/passes/OptimizeInstructions.cpp
parent09cba0fa50b0492ecf7b7886180dbd6c5aa5d04d (diff)
downloadbinaryen-9b38e4394034d6f25f54fc471bb9ac8812815331.tar.gz
binaryen-9b38e4394034d6f25f54fc471bb9ac8812815331.tar.bz2
binaryen-9b38e4394034d6f25f54fc471bb9ac8812815331.zip
LUBs (#3731)
This is a partial revert of #3669, which removed the old implementation of Type::getLeastUpperBound that did not correctly handle recursive types. The new implementation in this PR uses a TypeBuilder to construct LUBs and for recursive types, it returns a temporary HeapType that has not yet been fully constructed to break what would otherwise be infinite recursions.
Diffstat (limited to 'src/passes/OptimizeInstructions.cpp')
0 files changed, 0 insertions, 0 deletions