*** empty log message ***

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@31 379699f6-c40d-0410-875b-85095c16579e
stable
delwi 27 years ago
parent f3a339c394
commit 113127353a
  1. 11
      jode/jode/flow/StructuredBlock.java

@ -277,6 +277,13 @@ public abstract class StructuredBlock {
} }
} }
public void makeDeclaration() {
StructuredBlock[] subs = getSubBlocks();
for (int i=0; i<subs.length; i++) {
subs[i].makeDeclaration();
}
}
public void checkConsistent() { public void checkConsistent() {
StructuredBlock[] subs = getSubBlocks(); StructuredBlock[] subs = getSubBlocks();
for (int i=0; i<subs.length; i++) { for (int i=0; i<subs.length; i++) {
@ -329,7 +336,7 @@ public abstract class StructuredBlock {
subs[i].fillSuccessors(succs); subs[i].fillSuccessors(succs);
} }
} }
/** /**
* Print the source code for this structured block. This handles * Print the source code for this structured block. This handles
* everything that is unique for all structured blocks and calls * everything that is unique for all structured blocks and calls
@ -339,7 +346,7 @@ public abstract class StructuredBlock {
public void dumpSource(jode.TabbedPrintWriter writer) public void dumpSource(jode.TabbedPrintWriter writer)
throws java.io.IOException throws java.io.IOException
{ {
// if (!defineHere.isEmpty()) if (!defineHere.isEmpty() || jode.Decompiler.isDebugging)
writer.println("defining: "+defineHere); writer.println("defining: "+defineHere);
/* XXX declare variables needed in this block */ /* XXX declare variables needed in this block */
dumpInstruction(writer); dumpInstruction(writer);

Loading…
Cancel
Save