diff options
author | Hans-Kristian Arntzen <post@arntzen-software.no> | 2021-03-23 15:11:57 +0300 |
---|---|---|
committer | Hans-Kristian Arntzen <post@arntzen-software.no> | 2021-03-23 20:30:48 +0300 |
commit | 72211e36a2987fc99923203243053e6d79c01c02 (patch) | |
tree | 0002b48277461e39c506f9c70142731b977aca6d /node.hpp | |
parent | 171619011d4fc1527c0295d18cf8cd22467721a6 (diff) |
Re-seat header blocks when rewriting header -> merge block.
Otherwise, we might end up trying to create ladder blocks at merge blocks which are no longer correct.
Diffstat (limited to 'node.hpp')
-rw-r--r-- | node.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -99,6 +99,8 @@ private: template <typename Op> void traverse_dominated_blocks_and_rewrite_branch(CFGNode *from, CFGNode *to, const Op &op); + void fixup_merge_info_after_branch_rewrite(CFGNode *from, CFGNode *to); + template <typename Op> void walk_cfg_from(const Op &op) const; |