Package jminusminus
Class NTuple
java.lang.Object
jminusminus.NTuple
A tuple representation of a JVM instruction.
-
Field Summary
Modifier and TypeFieldDescriptionboolean
Is this tuple the leader of the block containing it.String representation (mnemonic) of the instruction.int
Opcode of the instruction.Operands of the instructions.int
Program counter of the instruction. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Write the information pertaining to this tuple to standard output.
-
Field Details
-
pc
public int pcProgram counter of the instruction. -
opcode
public int opcodeOpcode of the instruction. -
operands
Operands of the instructions. -
mnemonic
String representation (mnemonic) of the instruction. -
isLeader
public boolean isLeaderIs this tuple the leader of the block containing it.
-
-
Constructor Details
-
NTuple
Construct a tuple representing the JVM instruction.- Parameters:
pc
- program counter.opcode
- opcode of the instruction.operands
- list of operands of the instruction.
-
-
Method Details
-
writeToStdOut
Write the information pertaining to this tuple to standard output.- Parameters:
p
- for pretty printing with indentation.
-