|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectharpoon.Util.LightBasicBlocks.LBBConverter
harpoon.Util.LightBasicBlocks.CachingLBBConverter
public class CachingLBBConverter
CachingLBBConverter
adds some caching to the
LBBConverter
.
Constructor Summary | |
---|---|
CachingLBBConverter(BBConverter bbconv)
Creates a CachingLBBConverter . |
Method Summary | |
---|---|
void |
clear()
Completely clears the internal cache. |
void |
clear(HMethod hm)
Remove from the internal cache the result for hm . |
LightBasicBlock.Factory |
convert2lbb(HMethod hm)
Returns a LighBasicBlock.Factory for the body of
a method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CachingLBBConverter(BBConverter bbconv)
CachingLBBConverter
.
Method Detail |
---|
public LightBasicBlock.Factory convert2lbb(HMethod hm)
LighBasicBlock.Factory
for the body of
a method. Uses the already precomputed result if one exists.
convert2lbb
in class LBBConverter
public void clear(HMethod hm)
hm
.
This is useful if hm
was modified and a new
LightBasicBlock
view needs to be generated for it.
public void clear()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |