use getHint

fix for do/while loops and continue


git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@376 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 2e22e90384
commit 8ea042a516
  1. 5
      jode/jode/flow/LoopBlock.java

@ -257,7 +257,7 @@ public class LoopBlock extends StructuredBlock implements BreakableBlock {
if (isDeclaration)
writer.print(((LocalStoreOperator)
init.getInstruction().getOperator())
.getLocalInfo().getType().toString()
.getLocalInfo().getType().getHint()
+ " ");
writer.print(init.getInstruction().simplify().toString());
} else
@ -361,6 +361,9 @@ public class LoopBlock extends StructuredBlock implements BreakableBlock {
* @return false if the stack is inconsistent.
*/
public void mergeContinueStack(VariableStack stack) {
if (continueStack == null)
continueStack = stack;
else
continueStack.merge(stack);
}

Loading…
Cancel
Save