Package jminusminus
Class NTuple
java.lang.Object
jminusminus.NTuple
A tuple representation of a JVM instruction.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionbooleanIs this tuple the leader of the block containing it.String representation (mnemonic) of the instruction.intOpcode of the instruction.Operands of the instructions.intProgram counter of the instruction.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidWrite the information pertaining to this tuple to standard output.
- 
Field Details- 
pcpublic int pcProgram counter of the instruction.
- 
opcodepublic int opcodeOpcode of the instruction.
- 
operandsOperands of the instructions.
- 
mnemonicString representation (mnemonic) of the instruction.
- 
isLeaderpublic boolean isLeaderIs this tuple the leader of the block containing it.
 
- 
- 
Constructor Details- 
NTupleConstruct a tuple representing the JVM instruction.- Parameters:
- pc- program counter.
- opcode- opcode of the instruction.
- operands- list of operands of the instruction.
 
 
- 
- 
Method Details- 
writeToStdOutWrite the information pertaining to this tuple to standard output.- Parameters:
- p- for pretty printing with indentation.
 
 
-