Example #1
0
 /**
  * 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());
 }
Example #2
0
 /**
  * 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());
 }
Example #3
0
 /**
  * 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());
 }