/*
* This file is part of the Jikes RVM project (http://jikesrvm.org).
*
* This file is licensed to You under the Eclipse Public License (EPL);
* 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/eclipse-1.0.php
*
* See the COPYRIGHT.txt file distributed with this work for information
* regarding copyright ownership.
*/
package org.jikesrvm.compilers.opt.runtimesupport.ppc;
import static org.jikesrvm.ppc.RegisterConstants.NUM_GPRS;
/**
* This interface holds constants for the Opt GC map code specific to PowerPC
*/
public final class OptGCMapIteratorConstants {
// 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 first register that may hold a reference
*/
public static final int FIRST_GCMAP_REG = 1;
/**
* The last register that may hold a reference
*/
public static final int LAST_GCMAP_REG = NUM_GPRS - 1;
}