generateDefaultChunkControlFlowGraph

fun generateDefaultChunkControlFlowGraph(initialBlock: L2BasicBlock, reenterFromRestartBlock: L2BasicBlock, loopBlock: L2BasicBlock, reenterFromCallBlock: L2BasicBlock, reenterFromInterruptBlock: L2BasicBlock, unreachableBlock: L2BasicBlock): L2ControlFlowGraph

Generate the L2ControlFlowGraph of L2Instructions for the unoptimizedChunk.

Return

The L2ControlFlowGraph for the default chunk.

Parameters

initialBlock

The block to initially entry the default chunk for a call.

reenterFromRestartBlock

The block to reenter to P_RestartContinuation an A_Continuation.

loopBlock

The main loop of the interpreter.

reenterFromCallBlock

The entry point for returning into a reified continuation.

reenterFromInterruptBlock

The entry point for resuming from an interrupt.

unreachableBlock

A basic block that should be dynamically unreachable.