org.jikesrvm.compilers.baseline
Class BaselineExceptionTable

java.lang.Object
  extended by org.jikesrvm.compilers.common.ExceptionTable
      extended by org.jikesrvm.compilers.baseline.BaselineExceptionTable

final class BaselineExceptionTable
extends ExceptionTable

Encoding of try ranges in the final machinecode and the corresponding exception type and catch block start.


Field Summary
 
Fields inherited from class org.jikesrvm.compilers.common.ExceptionTable
CATCH_START, EX_TYPE, TRY_END, TRY_START
 
Constructor Summary
BaselineExceptionTable()
           
 
Method Summary
(package private) static int[] encode(ExceptionHandlerMap emap, int[] bytecodeMap)
          Encode an exception table
 
Methods inherited from class org.jikesrvm.compilers.common.ExceptionTable
findCatchBlockForInstruction, printExceptionTable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaselineExceptionTable

BaselineExceptionTable()
Method Detail

encode

static int[] encode(ExceptionHandlerMap emap,
                    int[] bytecodeMap)
Encode an exception table

Parameters:
emap - the exception table to encode
bytecodeMap - mapping from bytecode to machinecode offsets
Returns:
the encoded exception table