public class CodeLocation extends java.lang.Object implements java.lang.Comparable<CodeLocation>
| Modifier and Type | Field and Description |
|---|---|
private BBlock |
block
the basic block containing the instruction
|
private int |
instructionIdx
the index of the instruction in the basic block's instruction sequence
|
| Constructor and Description |
|---|
CodeLocation(BBlock block,
int instructionIdx) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(CodeLocation loc) |
boolean |
equals(java.lang.Object o) |
BBlock |
getBlock() |
int |
getBlockIdx() |
int |
getInstructionIdx() |
int |
hashCode() |
java.lang.String |
toString() |
private BBlock block
private int instructionIdx
public CodeLocation(BBlock block, int instructionIdx)
public BBlock getBlock()
public int getBlockIdx()
public int getInstructionIdx()
public java.lang.String toString()
toString in class java.lang.Objectpublic int compareTo(CodeLocation loc)
compareTo in interface java.lang.Comparable<CodeLocation>public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object