private static final class DefaultTruffleStamp.ArrayStamp extends Object implements TruffleStamp
Modifier and Type | Field and Description |
---|---|
private static int |
GENERIC_LENGTH |
private static DefaultTruffleStamp.ArrayStamp |
INSTANCE |
private int |
length |
private static int |
MAX_STAMPED_ARGUMENTS |
private TruffleStamp[] |
stampArray |
private static int |
UNINITIALIZED_LENGTH |
Constructor and Description |
---|
ArrayStamp(TruffleStamp stamp) |
ArrayStamp(TruffleStamp[] profiledTypes,
int length) |
Modifier and Type | Method and Description |
---|---|
private TruffleStamp |
create(TruffleStamp[] newArray,
int newLength) |
boolean |
equals(Object obj) |
private String |
formatLength() |
int |
hashCode() |
boolean |
isCompatible(Object value) |
TruffleStamp |
join(TruffleStamp p) |
TruffleStamp |
joinValue(Object value) |
private int |
profileLength(int arrayLength) |
String |
toString() |
String |
toStringShort() |
private static final DefaultTruffleStamp.ArrayStamp INSTANCE
private static final int MAX_STAMPED_ARGUMENTS
private static final int GENERIC_LENGTH
private static final int UNINITIALIZED_LENGTH
private final TruffleStamp[] stampArray
private final int length
public ArrayStamp(TruffleStamp stamp)
public ArrayStamp(TruffleStamp[] profiledTypes, int length)
public boolean isCompatible(Object value)
isCompatible
in interface TruffleStamp
public TruffleStamp join(TruffleStamp p)
join
in interface TruffleStamp
public TruffleStamp joinValue(Object value)
joinValue
in interface TruffleStamp
private TruffleStamp create(TruffleStamp[] newArray, int newLength)
private int profileLength(int arrayLength)
public String toStringShort()
toStringShort
in interface TruffleStamp
private String formatLength()