/*
 *  This file is part of the Jikes RVM project (http://jikesrvm.org).
 *
 *  This file is licensed to You under the Common Public License (CPL);
 *  You may not use this file except in compliance with the License. You
 *  may obtain a copy of the License at
 *
 *      http://www.opensource.org/licenses/cpl1.0.php
 *
 *  See the COPYRIGHT.txt file distributed with this work for information
 *  regarding copyright ownership.
 */
package org.jikesrvm.compilers.opt.runtimesupport.ia32;

import org.jikesrvm.compilers.opt.regalloc.ia32.PhysicalRegisterConstants;

/**
 * This interface holds constants for the Opt GC map code specific to IA32
 */
public interface OptGCMapIteratorConstants extends PhysicalRegisterConstants {

  // NOTE: The following two constants seem to imply that registers
  //       that can hold references are contiguous.  This is not true,
  //       in general, however, for the GC map code we only need to make
  //       sure that all such registers are included in the range defined
  //       below these contants.

  /*
   * The index of the first nonvolatile register that may hold a reference,
   */
  int FIRST_GCMAP_REG = 0;

  /*
   * the index of last register that may hold a reference
   */ int LAST_GCMAP_REG = 7;

}
