View source: R/live_variables.R
live_variables | R Documentation |
Given code in basic blocks, this function computes the live variables at the exit (and optionally, the entry) of each block.
live_variables(node, cfg = compute_cfg(node), du = def_use_sets(node,
by_block = TRUE, only_undefined_uses = TRUE), ...)
node |
The Function or BlockList to analyze. |
cfg |
(igraph) The control flow graph for the given code. |
du |
(list) Definition and use sets for each block, as computed by
|
... |
Additional arguments to |
A variable is live if it has already been defined and it will be used in some subsequent block.
The solution returned by backward_analysis()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.