Class ParamListRegisterOut

  • All Implemented Interfaces:
    ParamList
    Direct Known Subclasses:
    ParamListStandardOut

    public class ParamListRegisterOut
    extends ParamListStandard
    A list of resources describing possible storage locations for a function's return value, and a strategy for selecting a storage location based on data-types in a function signature. The assignment strategy for this class is to take the first storage location in the list that fits for the given function signature's return data-type.
    • Constructor Detail

      • ParamListRegisterOut

        public ParamListRegisterOut()
    • Method Detail

      • assignMap

        public void assignMap​(Program prog,
                              DataType[] proto,
                              java.util.ArrayList<VariableStorage> res,
                              boolean addAutoParams)
        Description copied from interface: ParamList
        Given a list of datatypes, calculate the storage locations used for passing those datatypes
        Specified by:
        assignMap in interface ParamList
        Overrides:
        assignMap in class ParamListStandard
        Parameters:
        prog - is the active progra
        proto - is the list of datatypes
        res - is the vector for holding the VariableStorage corresponding to datatypes
        addAutoParams - if true add/process auto-parameters