mapStackToLocal

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@308 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 29db6a9bda
commit 8442863349
  1. 12
      jode/jode/flow/BreakBlock.java

@ -70,6 +70,18 @@ public class BreakBlock extends StructuredBlock {
return breaksBlock.getNextFlowBlock(); return breaksBlock.getNextFlowBlock();
} }
/**
* This is called after the analysis is completely done. It
* will remove all PUSH/stack_i expressions, (if the bytecode
* is correct).
* @param stack the stackmap at begin of the block
* @return null since the stack has no successor.
*/
public VariableStack mapStackToLocal(VariableStack stack) {
((BreakableBlock)breaksBlock).mergeBreakedStack(stack);
return null;
}
/** /**
* Tells if this block needs braces when used in a if or while block. * Tells if this block needs braces when used in a if or while block.
* @return true if this block should be sorrounded by braces. * @return true if this block should be sorrounded by braces.

Loading…
Cancel
Save