ghc-6.12.3: The GHC APISource codeContentsIndex
Handles joining of a jump instruction to its targets.
joinToTargets :: Instruction instr => BlockMap RegSet -> BlockId -> instr -> RegM ([NatBasicBlock instr], instr)
:: Instruction instr
=> BlockMap RegSetmaps the unique of the blockid to the set of vregs that are known to be live on the entry to each block.
-> BlockIdid of the current block
-> instrbranch instr on the end of the source block.
-> RegM ([NatBasicBlock instr], instr)
For a jump instruction at the end of a block, generate fixup code so its vregs are in the correct regs for its destination.
Produced by Haddock version 2.6.1