diff options
author | Lang Hames <lhames@gmail.com> | 2020-04-22 10:18:44 -0700 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2020-04-22 14:16:46 -0700 |
commit | 3ceea67c091d556ec672e65ec4e9d72997e76807 (patch) | |
tree | 1a368fe690fc86eb5abe68e5be99adbf78630251 /llvm/lib/CodeGen/MachineOutliner.cpp | |
parent | fedd32e2fa3600ea795b7acb715ddf8d89d7123a (diff) | |
download | llvm-3ceea67c091d556ec672e65ec4e9d72997e76807.zip llvm-3ceea67c091d556ec672e65ec4e9d72997e76807.tar.gz llvm-3ceea67c091d556ec672e65ec4e9d72997e76807.tar.bz2 |
[JITLink] Fix edge removal iterator invalidation.
This patch changes Block::removeEdge to return a valid iterator to the new next
element, and uses this to update the edge removal algorithm in
LinkGraph::splitBlock.
Diffstat (limited to 'llvm/lib/CodeGen/MachineOutliner.cpp')
0 files changed, 0 insertions, 0 deletions