Interface ICallingConventionManager


@Ser public interface ICallingConventionManager
A calling convention manager provides calling convention definitions for a given processor.
  • Method Details

    • getProcessorType

      ProcessorType getProcessorType()
      Get the processor type supported by this manager.
      Returns:
      never null
    • getSubsystemType

      SubsystemType getSubsystemType()
      Get the optional subsystem type supported by this manager.
      Returns:
      may be null
    • getCompilerType

      CompilerType getCompilerType()
      Get the optional compiler type supported by this manager.
      Returns:
      may be null
    • getDefaultConvention

      ICallingConvention getDefaultConvention()
      Get the default convention provided by this manager.
      Returns:
    • setDefaultConvention

      void setDefaultConvention(ICallingConvention defaultConvention)
      Parameters:
      defaultConvention - non-null
    • getConvention

      ICallingConvention getConvention(String conventionName)
      Retrieve a convention by name. The convention must be
      Parameters:
      conventionName -
      Returns:
    • getConventions

      List<ICallingConvention> getConventions()
      Get calling conventions provided by this manager that are compatible with the set-up processor, subsystem, and compiler.
      Returns:
    • getAllConventions

      List<ICallingConvention> getAllConventions()
      Get all calling conventions present in this manager. Not all may be compatible with the set-up processor, subsystem, and compiler.

      Usage of this method is discouraged. Prefer getConventions() instead.

      Returns:
    • addConvention

      boolean addConvention(ICallingConvention cc)
      Parameters:
      cc -
      Returns:
    • removeConvention

      boolean removeConvention(ICallingConvention cc)
      Parameters:
      cc -
      Returns: