Esempio n. 1
0
  /**
   * Specify the registers used by this instruction.
   *
   * @param rs is the register set in use
   * @param index is an index associated with the instruction
   * @param strength is the importance of the instruction
   * @see scale.backend.RegisterAllocator#useRegister(int,int,int)
   * @see scale.backend.RegisterAllocator#defRegister(int,int)
   */
  public void specifyRegisterUsage(RegisterAllocator rs, int index, int strength) {
    super.specifyRegisterUsage(rs, index, strength);

    if (annulled) return; // Annulled instructions are processed as part of an AnnulMarker.

    if (delaySlot != null) delaySlot.specifyRegisterUsage(rs, index, strength);
  }