git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@17 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 87b4f8f3c6
commit 2427c7f532
  1. 6
      jode/jode/flow/EmptyBlock.java
  2. 8
      jode/jode/flow/InstructionBlock.java

@ -41,10 +41,6 @@ public class EmptyBlock extends StructuredBlock {
public void dumpSource(TabbedPrintWriter writer)
throws java.io.IOException
{
if (!(instr instanceof NopOperator)) {
if (instr.getType() != MyType.tVoid)
writer.print("push ");
writer.println(instr.toString()+";");
}
writer.println("/* empty */");
}
}

@ -15,8 +15,6 @@
*
* $Id$
*/
*/
package jode.flow;
/**
@ -41,6 +39,10 @@ public class InstructionBlock extends StructuredBlock {
public void dumpSource(TabbedPrintWriter writer)
throws java.io.IOException
{
writer.println("/* empty */");
if (!(instr instanceof NopOperator)) {
if (instr.getType() != MyType.tVoid)
writer.print("push ");
writer.println(instr.toString()+";");
}
}
}

Loading…
Cancel
Save