commit | 3ac2f5a25e9cae22ec8f5ae5e28de93f34d6485a | [log] [tgz] |
---|---|---|
author | Alex Light <allight@google.com> | Wed Nov 18 12:23:48 2020 -0800 |
committer | Treehugger Robot <treehugger-gerrit@google.com> | Thu Dec 10 18:09:40 2020 +0000 |
tree | 70b8e5628d1d98490229ae98b370cf3407cfcc04 | |
parent | 0b8b5a731f37491e1b135f577b16a5376bf4b753 [diff] |
Make RTP::Visit robust against input order ReferenceTypePropogation::Visit(ArrayRef) relied on the input having a particular order with known values at the front then topological. This could cause issues if the list was not properly sorted, causing the RTP to silently fail. This makes RTP robust against the ordering of inputs for this function. Test: ./test.py --host Bug: 67037140 Change-Id: I03c522ea745f271ce438c82f7c6f3ab476c8249a