org.jikesrvm.compilers.opt.runtimesupport
Class OptExceptionTable
java.lang.Object
org.jikesrvm.compilers.common.ExceptionTable
org.jikesrvm.compilers.opt.runtimesupport.OptExceptionTable
final class OptExceptionTable
- extends ExceptionTable
Encoding of try ranges in the final machinecode and the
corresponding exception type and catch block start.
Method Summary |
private static int |
countExceptionTableSize(IR ir)
Return an upper bounds on the size of the exception table for an IR. |
(package private) static int[] |
encode(IR ir)
Encode an exception table |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OptExceptionTable
OptExceptionTable()
encode
static int[] encode(IR ir)
- Encode an exception table
- Parameters:
ir
- the IR to encode the exception table for
- Returns:
- the encoded exception table
countExceptionTableSize
private static int countExceptionTableSize(IR ir)
- Return an upper bounds on the size of the exception table for an IR.