public class Liveness extends Object
Modifier and Type | Field and Description |
---|---|
protected byte[] |
localsUsage |
protected static byte |
READ |
protected static byte |
UNKNOWN |
protected static byte |
UPDATED |
static boolean |
useArgs
If true, all the arguments become alive within the whole method body.
|
Constructor and Description |
---|
Liveness() |
Modifier and Type | Method and Description |
---|---|
protected void |
analyze(CodeIterator ci,
int begin,
int end) |
void |
compute(CodeIterator ci,
TypedBlock[] blocks,
int maxLocals,
TypeData[] args) |
protected void |
readLocal(int reg) |
protected void |
writeLocal(int reg) |
protected static final byte UNKNOWN
protected static final byte READ
protected static final byte UPDATED
protected byte[] localsUsage
public static boolean useArgs
public void compute(CodeIterator ci, TypedBlock[] blocks, int maxLocals, TypeData[] args) throws BadBytecode
BadBytecode
protected final void readLocal(int reg)
protected final void writeLocal(int reg)
protected void analyze(CodeIterator ci, int begin, int end) throws BadBytecode
BadBytecode
Copyright © 2021. All Rights Reserved.