summaryrefslogtreecommitdiff
path: root/compiler/utils/FastFunctions.hs
diff options
context:
space:
mode:
authorAndreas Klebinger <klebinger.andreas@gmx.at>2019-10-11 17:44:55 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-10-13 06:32:19 -0400
commitc1bd07cd37d9001a58a1c48f4675597350927878 (patch)
tree52452c18804b3143c707a845d08d64fc60fae4ba /compiler/utils/FastFunctions.hs
parent5ab1a28d91e2e5331bf20b1e3dc0dff793ebca8b (diff)
downloadhaskell-c1bd07cd37d9001a58a1c48f4675597350927878.tar.gz
Fix #17334 where NCG did not properly update the CFG.wip/andreask/17334
Statements can change the basic block in which instructions are placed during instruction selection. We have to keep track of this switch of the current basic block as we need this information in order to properly update the CFG. This commit implements this change and fixes #17334. We do so by having stmtToInstr return the new block id if a statement changed the basic block.
Diffstat (limited to 'compiler/utils/FastFunctions.hs')
0 files changed, 0 insertions, 0 deletions