addInstruction method

void addInstruction(
  1. Instruction instruction
)

Adds an instruction to this block.

Implementation

void addInstruction(Instruction instruction) {
  instructions.add(instruction);
}