Commit 284c3d9f authored by Lubomir Bulej's avatar Lubomir Bulej

Updated comment on BasicBlockStaticContext.getCount() method.

parent 9ed458ba
......@@ -80,7 +80,9 @@ public class BasicBlockStaticContext extends AbstractStaticContext {
/**
* Returns total number of basic blocks in this method.
*
* @return the number of basic blocks in this method.
* @return The number of basic blocks in this method, must be greater than
* zero, because every method should have at least one basic block
* represented by the return instruction.
*/
public int getCount () {
return _getMethodCfg ().getNodes ().size ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment