/** * Makes a {@link CatchTable#Entry} for the given block range and * handlers. * * @param start {@code non-null;} the start block for the range (inclusive) * @param end {@code non-null;} the start block for the range (also inclusive) * @param handlers {@code non-null;} the handlers for the range * @param addresses {@code non-null;} address objects for each block */ private static CatchTable.Entry makeEntry(BasicBlock start, BasicBlock end, CatchHandlerList handlers, BlockAddresses addresses) { /* * We start at the *last* instruction of the start block, since * that's the instruction that can throw... */ CodeAddress startAddress = addresses.getLast(start); // ...And we end *after* the last instruction of the end block. CodeAddress endAddress = addresses.getEnd(end); return new CatchTable.Entry(startAddress.getAddress(), endAddress.getAddress(), handlers); }
/** * Makes a {@link CatchTable#Entry} for the given block range and * handlers. * * @param start {@code non-null;} the start block for the range (inclusive) * @param end {@code non-null;} the start block for the range (also inclusive) * @param handlers {@code non-null;} the handlers for the range * @param addresses {@code non-null;} address objects for each block */ private static CatchTable.Entry makeEntry(BasicBlock start, BasicBlock end, CatchHandlerList handlers, BlockAddresses addresses) { /* * We start at the *last* instruction of the start block, since * that's the instruction that can throw... */ CodeAddress startAddress = addresses.getLast(start); // ...And we end *after* the last instruction of the end block. CodeAddress endAddress = addresses.getEnd(end); return new CatchTable.Entry(startAddress.getAddress(), endAddress.getAddress(), handlers); }
/** * Makes a {@link CatchTable#Entry} for the given block range and * handlers. * * @param start {@code non-null;} the start block for the range (inclusive) * @param end {@code non-null;} the start block for the range (also inclusive) * @param handlers {@code non-null;} the handlers for the range * @param addresses {@code non-null;} address objects for each block */ private static CatchTable.Entry makeEntry(BasicBlock start, BasicBlock end, CatchHandlerList handlers, BlockAddresses addresses) { /* * We start at the *last* instruction of the start block, since * that's the instruction that can throw... */ CodeAddress startAddress = addresses.getLast(start); // ...And we end *after* the last instruction of the end block. CodeAddress endAddress = addresses.getEnd(end); return new CatchTable.Entry(startAddress.getAddress(), endAddress.getAddress(), handlers); }
/** * Makes a {@link CatchTable.Entry} for the given block range and * handlers. * * @param start {@code non-null;} the start block for the range (inclusive) * @param end {@code non-null;} the start block for the range (also inclusive) * @param handlers {@code non-null;} the handlers for the range * @param addresses {@code non-null;} address objects for each block */ private static CatchTable.Entry makeEntry(BasicBlock start, BasicBlock end, CatchHandlerList handlers, BlockAddresses addresses) { /* * We start at the *last* instruction of the start block, since * that's the instruction that can throw... */ CodeAddress startAddress = addresses.getLast(start); // ...And we end *after* the last instruction of the end block. CodeAddress endAddress = addresses.getEnd(end); return new CatchTable.Entry(startAddress.getAddress(), endAddress.getAddress(), handlers); }
/** * Makes a {@link CatchTable#Entry} for the given block range and * handlers. * * @param start {@code non-null;} the start block for the range (inclusive) * @param end {@code non-null;} the start block for the range (also inclusive) * @param handlers {@code non-null;} the handlers for the range * @param addresses {@code non-null;} address objects for each block */ private static CatchTable.Entry makeEntry(BasicBlock start, BasicBlock end, CatchHandlerList handlers, BlockAddresses addresses) { /* * We start at the *last* instruction of the start block, since * that's the instruction that can throw... */ CodeAddress startAddress = addresses.getLast(start); // ...And we end *after* the last instruction of the end block. CodeAddress endAddress = addresses.getEnd(end); return new CatchTable.Entry(startAddress.getAddress(), endAddress.getAddress(), handlers); }
/** * Makes a {@link CatchTable#Entry} for the given block range and * handlers. * * @param start {@code non-null;} the start block for the range (inclusive) * @param end {@code non-null;} the start block for the range (also inclusive) * @param handlers {@code non-null;} the handlers for the range * @param addresses {@code non-null;} address objects for each block */ private static CatchTable.Entry makeEntry(BasicBlock start, BasicBlock end, CatchHandlerList handlers, BlockAddresses addresses) { /* * We start at the *last* instruction of the start block, since * that's the instruction that can throw... */ CodeAddress startAddress = addresses.getLast(start); // ...And we end *after* the last instruction of the end block. CodeAddress endAddress = addresses.getEnd(end); return new CatchTable.Entry(startAddress.getAddress(), endAddress.getAddress(), handlers); }
/** * Makes a {@link CatchTable#Entry} for the given block range and * handlers. * * @param start {@code non-null;} the start block for the range (inclusive) * @param end {@code non-null;} the start block for the range (also inclusive) * @param handlers {@code non-null;} the handlers for the range * @param addresses {@code non-null;} address objects for each block */ private static CatchTable.Entry makeEntry(BasicBlock start, BasicBlock end, CatchHandlerList handlers, BlockAddresses addresses) { /* * We start at the *last* instruction of the start block, since * that's the instruction that can throw... */ CodeAddress startAddress = addresses.getLast(start); // ...And we end *after* the last instruction of the end block. CodeAddress endAddress = addresses.getEnd(end); return new CatchTable.Entry(startAddress.getAddress(), endAddress.getAddress(), handlers); }
/** * Makes a {@link CatchTable#Entry} for the given block range and * handlers. * * @param start {@code non-null;} the start block for the range (inclusive) * @param end {@code non-null;} the start block for the range (also inclusive) * @param handlers {@code non-null;} the handlers for the range * @param addresses {@code non-null;} address objects for each block */ private static CatchTable.Entry makeEntry(BasicBlock start, BasicBlock end, CatchHandlerList handlers, BlockAddresses addresses) { /* * We start at the *last* instruction of the start block, since * that's the instruction that can throw... */ CodeAddress startAddress = addresses.getLast(start); // ...And we end *after* the last instruction of the end block. CodeAddress endAddress = addresses.getEnd(end); return new CatchTable.Entry(startAddress.getAddress(), endAddress.getAddress(), handlers); }