MCPcopy Create free account
hub / github.com/cseagle/blc / findExit

Method findExit

blockaction.cc:177–234  ·  view source on GitHub ↗

A structured loop is allowed at most one exit block: pick this block. First build a set of trial exits, preferring from a \b tail, then from \b head, then from the middle. If there is no containing loop, just return the first such exit we find. \param body is the list FlowBlock objects in the loop body, which we assume are marked.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

orderLoopBodiesMethod · 0.80

Calls 7

sizeMethod · 0.80
sizeOutMethod · 0.80
isGotoOutMethod · 0.80
getOutMethod · 0.45
isMarkMethod · 0.45
push_backMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected