final class OptExceptionTable extends ExceptionTable
| Modifier and Type | Field and Description |
|---|---|
private static int |
UNREACHABLE_CATCH_BLOCK
Marker for catch blocks that have no associated code.
|
CATCH_START, EX_TYPE, TRY_END, TRY_START| Constructor and Description |
|---|
OptExceptionTable() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static boolean |
belongsToUnreachableCatchBlock(int catchOffset) |
private static int |
countExceptionTableSize(IR ir) |
(package private) static int[] |
encode(IR ir)
Encode an exception table
|
findCatchBlockForInstruction, printExceptionTable, printExceptionTableUninterruptibleprivate static final int UNREACHABLE_CATCH_BLOCK
The only constraint on the concrete value for this marker is that it must be negative to ensure that the non-existent catch block is never found when exceptions are delivered.
OptExceptionTable()
static int[] encode(IR ir)
ir - the IR to encode the exception table forprivate static int countExceptionTableSize(IR ir)
ir - the IR with the exception tablesstatic boolean belongsToUnreachableCatchBlock(int catchOffset)