src/share/classes/com/sun/tools/javap/CodeWriter.java

changeset 355
961dc3acdb06
parent 354
cba827f72977
child 437
a509a22f9845
equal deleted inserted replaced
354:cba827f72977 355:961dc3acdb06
115 for (InstructionDetailWriter w: detailWriters) 115 for (InstructionDetailWriter w: detailWriters)
116 w.flush(); 116 w.flush();
117 } 117 }
118 118
119 public void writeInstr(Instruction instr) { 119 public void writeInstr(Instruction instr) {
120 print(String.format("%4d: %-12s ", instr.getPC(), instr.getMnemonic())); 120 print(String.format("%4d: %-13s ", instr.getPC(), instr.getMnemonic()));
121 instr.accept(instructionPrinter, null); 121 instr.accept(instructionPrinter, null);
122 println(); 122 println();
123 } 123 }
124 // where 124 // where
125 Instruction.KindVisitor<Void,Void> instructionPrinter = 125 Instruction.KindVisitor<Void,Void> instructionPrinter =

mercurial