llpython.opcode_util

llpython.opcode_util.extendlabels(code, labels=None)

Extend the set of jump target labels to account for the passthrough targets of conditional branches.

This allows us to create a control flow graph where there is at most one branch per basic block.

llpython.opcode_util.itercode(code)

Return a generator of byte-offset, opcode, and argument from a byte-code-string

Previous topic

llpython.nobitey

Next topic

llpython.phi_injector

This Page