/* * 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 org.jikesrvm.compilers.opt.regalloc.ppc.PhysicalRegisterConstants; /** * This interface holds constants for the Opt GC map code specific to PowerPC */ 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 first register that may hold a reference */ int FIRST_GCMAP_REG = 1; /** * The last register that may hold a reference */ int LAST_GCMAP_REG = NUM_GPRS - 1; }