public class BytecodeMarker extends AbstractDWRMarker
Marks one java bytecode instruction.
Sets the start before a bytecode instruction and the end after a bytecode instruction. If the bytecode instruction is (conditional) jump the end is also inserted before the instruction (preserves before-after semantics).
AbstractMarker.MarkedRegion
Constructor and Description |
---|
BytecodeMarker(Parameter param) |
Modifier and Type | Method and Description |
---|---|
java.util.List<AbstractMarker.MarkedRegion> |
markWithDefaultWeavingReg(org.objectweb.asm.tree.MethodNode method)
Implementation of this method should return list of marked regions with
filled start and end of the region.
|
mark
mark
public BytecodeMarker(Parameter param) throws ch.usi.dag.disl.exception.MarkerException
ch.usi.dag.disl.exception.MarkerException
public java.util.List<AbstractMarker.MarkedRegion> markWithDefaultWeavingReg(org.objectweb.asm.tree.MethodNode method)
AbstractDWRMarker
Implementation of this method should return list of marked regions with filled start and end of the region.
The regions will get automatic after throw computation.
The regions will get automatic branch skipping at the end.
markWithDefaultWeavingReg
in class AbstractDWRMarker