public class InstructionPrinter extends Object
Modifier and Type | Class and Description |
---|---|
static class |
InstructionPrinter.InstructionLineColumn
The columns printed in a tabulated instruction
listing.
|
Constructor and Description |
---|
InstructionPrinter(LogStream out) |
Modifier and Type | Method and Description |
---|---|
LogStream |
out() |
void |
printInstruction(ValueNode node) |
void |
printInstructionListing(ValueNode instruction)
Prints an instruction listing on one line.
|
void |
printInstructionListingHeader()
Prints a header for the tabulated data printed by
printInstructionListing(ValueNode)
. |
public InstructionPrinter(LogStream out)
public void printInstructionListingHeader()
printInstructionListing(ValueNode)
.public void printInstructionListing(ValueNode instruction)
InstructionPrinter.InstructionLineColumn
.instruction
- the instruction to printpublic void printInstruction(ValueNode node)