private abstract class ScratchMap.Interval extends Object
Modifier and Type | Field and Description |
---|---|
protected Instruction |
begin
The instruction before which the scratch range begins.
|
protected Instruction |
end
The instruction before which the scratch range ends.
|
protected Register |
scratch
The physical scratch register or register evicted.
|
Modifier | Constructor and Description |
---|---|
protected |
Interval(Register scratch) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
contains(int n)
Does this interval contain the instruction numbered n?
|
protected Instruction begin
protected Instruction end
protected final boolean contains(int n)
n
- instruction numbertrue
if and only if the instruction with the
given number is contained n this interval