language-boogie-0.2: Interpreter and language infrastructure for Boogie.

Safe HaskellNone

Language.Boogie.BasicBlocks

Description

Basic block transformation for imperative Boogie code

Synopsis

Documentation

toBasicBlocks :: Block -> [BasicBlock]Source

Transform procedure body into a sequence of basic blocks. A basic block starts with a label and contains no jump, if or while statements, except for the last statement, which can be a goto or return.

startLabel :: [Char]Source

Label of the first block in a procedure