/** * Adds a block to the output result. * * @param block {@code non-null;} the block to add * @param subroutines {@code non-null;} subroutine label list * as described in {@link Frame#getSubroutines} */ private void addBlock(BasicBlock block, IntList subroutines) { if (block == null) { throw new NullPointerException("block == null"); } result.add(block); subroutines.throwIfMutable(); resultSubroutines.add(subroutines); }
/** * Adds a block to the output result. * * @param block {@code non-null;} the block to add * @param subroutines {@code non-null;} subroutine label list * as described in {@link Frame#getSubroutines} */ private void addBlock(BasicBlock block, IntList subroutines) { if (block == null) { throw new NullPointerException("block == null"); } result.add(block); subroutines.throwIfMutable(); resultSubroutines.add(subroutines); }
/** * Adds a block to the output result. * * @param block {@code non-null;} the block to add * @param subroutines {@code non-null;} subroutine label list * as described in {@link Frame#getSubroutines} */ private void addBlock(BasicBlock block, IntList subroutines) { if (block == null) { throw new NullPointerException("block == null"); } result.add(block); subroutines.throwIfMutable(); resultSubroutines.add(subroutines); }
/** * Adds a block to the output result. * * @param block {@code non-null;} the block to add * @param subroutines {@code non-null;} subroutine label list * as described in {@link Frame#getSubroutines} */ private void addBlock(BasicBlock block, IntList subroutines) { if (block == null) { throw new NullPointerException("block == null"); } result.add(block); subroutines.throwIfMutable(); resultSubroutines.add(subroutines); }
/** * Adds a block to the output result. * * @param block {@code non-null;} the block to add * @param subroutines {@code non-null;} subroutine label list as described in * {@link Frame#getSubroutines} */ private void addBlock(BasicBlock block, IntList subroutines) { if (block == null) { throw new NullPointerException("block == null"); } result.add(block); subroutines.throwIfMutable(); resultSubroutines.add(subroutines); }
/** * Adds a block to the output result. * * @param block {@code non-null;} the block to add * @param subroutines {@code non-null;} subroutine label list * as described in {@link Frame#getSubroutines} */ private void addBlock(BasicBlock block, IntList subroutines) { if (block == null) { throw new NullPointerException("block == null"); } result.add(block); subroutines.throwIfMutable(); resultSubroutines.add(subroutines); }
/** * Constructs an instance. * * @param locals {@code non-null;} the locals array to use * @param stack {@code non-null;} the execution stack to use * @param subroutines {@code non-null;} list of subroutine start labels for * subroutines this frame is nested in */ private Frame(LocalsArray locals, ExecutionStack stack, IntList subroutines) { if (locals == null) { throw new NullPointerException("locals == null"); } if (stack == null) { throw new NullPointerException("stack == null"); } subroutines.throwIfMutable(); this.locals = locals; this.stack = stack; this.subroutines = subroutines; }
/** * Constructs an instance. * * @param locals {@code non-null;} the locals array to use * @param stack {@code non-null;} the execution stack to use * @param subroutines {@code non-null;} list of subroutine start labels for * subroutines this frame is nested in */ private Frame(LocalsArray locals, ExecutionStack stack, IntList subroutines) { if (locals == null) { throw new NullPointerException("locals == null"); } if (stack == null) { throw new NullPointerException("stack == null"); } subroutines.throwIfMutable(); this.locals = locals; this.stack = stack; this.subroutines = subroutines; }
/** * Constructs an instance. * * @param locals {@code non-null;} the locals array to use * @param stack {@code non-null;} the execution stack to use * @param subroutines {@code non-null;} list of subroutine start labels for * subroutines this frame is nested in */ private Frame(LocalsArray locals, ExecutionStack stack, IntList subroutines) { if (locals == null) { throw new NullPointerException("locals == null"); } if (stack == null) { throw new NullPointerException("stack == null"); } subroutines.throwIfMutable(); this.locals = locals; this.stack = stack; this.subroutines = subroutines; }
/** * Constructs an instance. * * @param locals {@code non-null;} the locals array to use * @param stack {@code non-null;} the execution stack to use * @param subroutines {@code non-null;} list of subroutine start labels for * subroutines this frame is nested in */ private Frame(LocalsArray locals, ExecutionStack stack, IntList subroutines) { if (locals == null) { throw new NullPointerException("locals == null"); } if (stack == null) { throw new NullPointerException("stack == null"); } subroutines.throwIfMutable(); this.locals = locals; this.stack = stack; this.subroutines = subroutines; }
/** * Constructs an instance. * * @param locals {@code non-null;} the locals array to use * @param stack {@code non-null;} the execution stack to use * @param subroutines {@code non-null;} list of subroutine start labels for * subroutines this frame is nested in */ private Frame(LocalsArray locals, ExecutionStack stack, IntList subroutines) { if (locals == null) { throw new NullPointerException("locals == null"); } if (stack == null) { throw new NullPointerException("stack == null"); } subroutines.throwIfMutable(); this.locals = locals; this.stack = stack; this.subroutines = subroutines; }
/** * Constructs an instance. * * @param locals {@code non-null;} the locals array to use * @param stack {@code non-null;} the execution stack to use * @param subroutines {@code non-null;} list of subroutine start labels for * subroutines this frame is nested in */ private Frame(LocalsArray locals, ExecutionStack stack, IntList subroutines) { if (locals == null) { throw new NullPointerException("locals == null"); } if (stack == null) { throw new NullPointerException("stack == null"); } subroutines.throwIfMutable(); this.locals = locals; this.stack = stack; this.subroutines = subroutines; }
/** * Adds or replaces a block in the output result. Do not delete * any successors. * * @param block {@code non-null;} the block to add or replace * @param subroutines {@code non-null;} subroutine label list * as described in {@link Frame#getSubroutines} * @return {@code true} if the block was replaced or * {@code false} if it was added for the first time */ private boolean addOrReplaceBlockNoDelete(BasicBlock block, IntList subroutines) { if (block == null) { throw new NullPointerException("block == null"); } int idx = labelToResultIndex(block.getLabel()); boolean ret; if (idx < 0) { ret = false; } else { result.remove(idx); resultSubroutines.remove(idx); ret = true; } result.add(block); subroutines.throwIfMutable(); resultSubroutines.add(subroutines); return ret; }
/** * Adds or replaces a block in the output result. Do not delete * any successors. * * @param block {@code non-null;} the block to add or replace * @param subroutines {@code non-null;} subroutine label list * as described in {@link Frame#getSubroutines} * @return {@code true} if the block was replaced or * {@code false} if it was added for the first time */ private boolean addOrReplaceBlockNoDelete(BasicBlock block, IntList subroutines) { if (block == null) { throw new NullPointerException("block == null"); } int idx = labelToResultIndex(block.getLabel()); boolean ret; if (idx < 0) { ret = false; } else { result.remove(idx); resultSubroutines.remove(idx); ret = true; } result.add(block); subroutines.throwIfMutable(); resultSubroutines.add(subroutines); return ret; }
/** * Adds or replaces a block in the output result. Do not delete * any successors. * * @param block {@code non-null;} the block to add or replace * @param subroutines {@code non-null;} subroutine label list * as described in {@link Frame#getSubroutines} * @return {@code true} if the block was replaced or * {@code false} if it was added for the first time */ private boolean addOrReplaceBlockNoDelete(BasicBlock block, IntList subroutines) { if (block == null) { throw new NullPointerException("block == null"); } int idx = labelToResultIndex(block.getLabel()); boolean ret; if (idx < 0) { ret = false; } else { result.remove(idx); resultSubroutines.remove(idx); ret = true; } result.add(block); subroutines.throwIfMutable(); resultSubroutines.add(subroutines); return ret; }
/** * Adds or replaces a block in the output result. Do not delete * any successors. * * @param block {@code non-null;} the block to add or replace * @param subroutines {@code non-null;} subroutine label list * as described in {@link Frame#getSubroutines} * @return {@code true} if the block was replaced or * {@code false} if it was added for the first time */ private boolean addOrReplaceBlockNoDelete(BasicBlock block, IntList subroutines) { if (block == null) { throw new NullPointerException("block == null"); } int idx = labelToResultIndex(block.getLabel()); boolean ret; if (idx < 0) { ret = false; } else { result.remove(idx); resultSubroutines.remove(idx); ret = true; } result.add(block); subroutines.throwIfMutable(); resultSubroutines.add(subroutines); return ret; }
/** * Adds or replaces a block in the output result. Do not delete * any successors. * * @param block {@code non-null;} the block to add or replace * @param subroutines {@code non-null;} subroutine label list * as described in {@link Frame#getSubroutines} * @return {@code true} if the block was replaced or * {@code false} if it was added for the first time */ private boolean addOrReplaceBlockNoDelete(BasicBlock block, IntList subroutines) { if (block == null) { throw new NullPointerException("block == null"); } int idx = labelToResultIndex(block.getLabel()); boolean ret; if (idx < 0) { ret = false; } else { result.remove(idx); resultSubroutines.remove(idx); ret = true; } result.add(block); subroutines.throwIfMutable(); resultSubroutines.add(subroutines); return ret; }
/** * Adds or replaces a block in the output result. Do not delete * any successors. * * @param block {@code non-null;} the block to add or replace * @param subroutines {@code non-null;} subroutine label list as described in * {@link Frame#getSubroutines} * @return {@code true} if the block was replaced or * {@code false} if it was added for the first time */ private boolean addOrReplaceBlockNoDelete(BasicBlock block, IntList subroutines) { if (block == null) { throw new NullPointerException("block == null"); } int idx = labelToResultIndex(block.getLabel()); boolean ret; if (idx < 0) { ret = false; } else { result.remove(idx); resultSubroutines.remove(idx); ret = true; } result.add(block); subroutines.throwIfMutable(); resultSubroutines.add(subroutines); return ret; }
subroutines.throwIfMutable(); resultSubroutines.add(subroutines); return ret;
subroutines.throwIfMutable(); resultSubroutines.add(subroutines); return ret;