public class ValueNumber extends Object implements Comparable<ValueNumber>
Instances of ValueNumbers produced by the same ValueNumberFactory
are unique, so reference equality may be used to
determine whether or not two value numbers are the same. In general,
ValueNumbers from different factories cannot be compared.
ValueNumberAnalysis
Modifier and Type | Field and Description |
---|---|
static int |
ARRAY_VALUE |
static int |
CONSTANT_CLASS_OBJECT |
static int |
CONSTANT_VALUE |
static int |
PHI_NODE |
static int |
RETURN_VALUE
Flag specifying that this value was the return value of a called method.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ValueNumber other) |
static ValueNumber |
createValueNumber(int number) |
static ValueNumber |
createValueNumber(int number,
int flags) |
boolean |
equals(Object o) |
int |
getFlags() |
int |
getNumber() |
boolean |
hasFlag(int flag) |
int |
hashCode() |
static int |
mergeFlags(int flags1,
int flags2) |
String |
toString() |
public static final int RETURN_VALUE
public static final int ARRAY_VALUE
public static final int CONSTANT_CLASS_OBJECT
public static final int PHI_NODE
public static final int CONSTANT_VALUE
public static int mergeFlags(int flags1, int flags2)
public static ValueNumber createValueNumber(int number, int flags)
public static ValueNumber createValueNumber(int number)
public int getNumber()
public int getFlags()
public boolean hasFlag(int flag)
public int compareTo(ValueNumber other)
compareTo
in interface Comparable<ValueNumber>
Copyright © 2003–2015. All rights reserved.