Package iota
Class NTuple
java.lang.Object
iota.NTuple
- Direct Known Subclasses:
NBranchTuple
,NIConstTuple
,NInvokestaticTuple
,NLoadStoreTuple
,NNoArgTuple
Abstract representation of a JVM instruction as a tuple.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
Writes the information pertaining to this tuple to standard output.
-
Field Details
-
pc
public int pcProgram counter of the tuple. -
opcode
public int opcodeTuple opcode. -
mnemonic
Tuple mnemonic. -
isLeader
public boolean isLeaderWhether the tuple is the leader of the basic block containing it.
-
-
Constructor Details
-
NTuple
protected NTuple(int pc, int opcode) Constructs an NTuple object.- Parameters:
pc
- program counter of the tuple.opcode
- tuple opcode.
-
-
Method Details
-
writeToStdOut
Writes the information pertaining to this tuple to standard output.- Parameters:
p
- for pretty printing with indentation.
-