harpoon.Backend.Generic
Interface RegFileInfo.CommonLoc

All Known Subinterfaces:
RegFileInfo.MachineRegLoc, RegFileInfo.StackOffsetLoc
Enclosing class:
RegFileInfo

public static interface RegFileInfo.CommonLoc

Common super class for StackOffsetLoc and MachineRegLoc. Should only be implemented by Temp objects (is an interface to get around multiple inheritance problmes).


Method Summary
 int kind()
          Returns the KIND of Loc this is.
 

Method Detail

kind

int kind()
Returns the KIND of Loc this is.
effects: If this is a StackOffsetLoc, returns StackOffsetLoc.KIND Else this implicitly is a MachineRegLoc, and returns MachineRegLoc.KIND.