Interface ICallingConventionManager
A calling convention manager provides calling convention definitions for a given processor.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Get all calling conventions present in this manager.Get the optional compiler type supported by this manager.getConvention
(String conventionName) Retrieve a convention by name.Get calling conventions provided by this manager that are compatible with the set-up processor, subsystem, and compiler.Get the default convention provided by this manager.Get the processor type supported by this manager.Get the optional subsystem type supported by this manager.boolean
void
setDefaultConvention
(ICallingConvention defaultConvention)
-
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
- Parameters:
defaultConvention
- non-null
-
getConvention
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
- Parameters:
cc
-- Returns:
-
removeConvention
- Parameters:
cc
-- Returns:
-