void addInstruction(Instruction instruction) {
    if (instruction instanceof ReadVariableInstruction || instruction instanceof WriteVariableInstruction) {
      Instruction oldInstruction = myInstructionCache.putIfAbsent(instruction, instruction);
      if (oldInstruction != null) {
        instruction = oldInstruction;
      }
    }
    myInstructions.add(instruction);
    myElementsForInstructions.add(myElementStack.peek());
  }
void addInstruction(Instruction instruction)