diff options
author | Alon Zakai <azakai@google.com> | 2023-08-17 08:48:57 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-17 08:48:57 -0700 |
commit | 7424929782692271a09a19572806e1760beacddc (patch) | |
tree | 999e68dc5452187994d00cf524531f1125736c5b /src/passes/OptimizeInstructions.cpp | |
parent | c37bda1d06a4c81c443f89572bdc6d2b443ed40c (diff) | |
download | binaryen-7424929782692271a09a19572806e1760beacddc.tar.gz binaryen-7424929782692271a09a19572806e1760beacddc.tar.bz2 binaryen-7424929782692271a09a19572806e1760beacddc.zip |
Heap2Local: Refinalize if we end up refining (#5879)
We shouldn't need to in the general case, but the fuzzer found a corner case
where we do need to, see the explanation + testcase, but basically Heap2Local
replaces struct fields with locals, and the locals should have the same types,
but if a field was somehow less refined for some reason, then the locals could
actually be more refined. (And a field could be less refined if we read it from a
typed that was under-refined due to a tee or such.)
Diffstat (limited to 'src/passes/OptimizeInstructions.cpp')
0 files changed, 0 insertions, 0 deletions