/** * Insert a compound instruction. * * @param ih where to insert the instruction list * @param c The composite instruction (containing an InstructionList) * @return instruction handle of the first inserted instruction */ public InstructionHandle insert(InstructionHandle ih, CompoundInstruction c) { return insert(ih, c.getInstructionList()); }
/** * Initialize list with (nonnull) compound instruction. Consumes argument list, i.e., it becomes * empty. * * @param c compound instruction (list) */ public InstructionList(CompoundInstruction c) { append(c.getInstructionList()); }
/** * Append a compound instruction. * * @param ih where to append the instruction list * @param c The composite instruction (containing an InstructionList) * @return instruction handle of the first appended instruction */ public InstructionHandle append(InstructionHandle ih, CompoundInstruction c) { return append(ih, c.getInstructionList()); }