|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.nabla.algorithmic.forward.analysis.TrackingValue
public class TrackingValue
A value that keep track of both instructions producing and consuming it.
| Field Summary | |
|---|---|
static TrackingValue |
UNINITIALIZED_VALUE
Special value for uninitialized values. |
| Constructor Summary | |
|---|---|
TrackingValue(org.objectweb.asm.tree.analysis.BasicValue value)
Build a new value without any link to instructions. |
|
| Method Summary | |
|---|---|
void |
addConsumer(org.objectweb.asm.tree.AbstractInsnNode consumer)
Add a consumer for this value. |
void |
addProducer(org.objectweb.asm.tree.AbstractInsnNode producer)
Add a producer for this value. |
Set<org.objectweb.asm.tree.AbstractInsnNode> |
getConsumers()
Get the consumers for this value and all values it is merged with. |
Set<org.objectweb.asm.tree.AbstractInsnNode> |
getProducers()
Get the producers for this value and all values it is merged with. |
int |
getSize()
|
org.objectweb.asm.tree.analysis.BasicValue |
getValue()
Get the wrapped BasicValue. |
static void |
merge(TrackingValue value1,
TrackingValue value2)
Merge two instances. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final TrackingValue UNINITIALIZED_VALUE
| Constructor Detail |
|---|
public TrackingValue(org.objectweb.asm.tree.analysis.BasicValue value)
value - wrapped BasicValue value| Method Detail |
|---|
public org.objectweb.asm.tree.analysis.BasicValue getValue()
BasicValue.
BasicValuepublic int getSize()
getSize in interface org.objectweb.asm.tree.analysis.Valuepublic void addConsumer(org.objectweb.asm.tree.AbstractInsnNode consumer)
consumer - consumer for this valuepublic Set<org.objectweb.asm.tree.AbstractInsnNode> getConsumers()
public void addProducer(org.objectweb.asm.tree.AbstractInsnNode producer)
producer - producer for this valuepublic Set<org.objectweb.asm.tree.AbstractInsnNode> getProducers()
public static void merge(TrackingValue value1,
TrackingValue value2)
Once merged, values share the same producers and consumers sets.
value1 - first value to mergevalue2 - second value to merge
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||