C# Class Mosa.Compiler.Framework.BaseCallingConventionExtended

This extended class provides support to emit calling convention specific code.
Inheritance: BaseCallingConvention
Show file Open project: tgiphil/MOSA-Project

Protected Properties

Property Type Description
architecture BaseArchitecture

Public Methods

Method Description
BaseCallingConventionExtended ( BaseArchitecture architecture ) : System

Initializes a new instance of the BaseCallingConventionExtended.

Protected Methods

Method Description
BuildOperands ( Context context ) : List

Builds the operands.

CalculateStackSizeForParameters ( MosaTypeLayout typeLayout, BaseArchitecture architecture, List operands ) : int
CalculateStackSizeForParameters ( MosaTypeLayout typeLayout, BaseArchitecture architecture, List operands, MosaMethod method ) : int

Calculates the stack size for parameters.

Method Details

BaseCallingConventionExtended() public method

Initializes a new instance of the BaseCallingConventionExtended.
public BaseCallingConventionExtended ( BaseArchitecture architecture ) : System
architecture BaseArchitecture The architecture of the calling convention.
return System

BuildOperands() protected static method

Builds the operands.
protected static BuildOperands ( Context context ) : List
context Context The context.
return List

CalculateStackSizeForParameters() protected static method

protected static CalculateStackSizeForParameters ( MosaTypeLayout typeLayout, BaseArchitecture architecture, List operands ) : int
typeLayout MosaTypeLayout
architecture BaseArchitecture
operands List
return int

CalculateStackSizeForParameters() protected static method

Calculates the stack size for parameters.
protected static CalculateStackSizeForParameters ( MosaTypeLayout typeLayout, BaseArchitecture architecture, List operands, MosaMethod method ) : int
typeLayout MosaTypeLayout The type layouts.
architecture BaseArchitecture
operands List The operands.
method MosaMethod The method.
return int

Property Details

architecture protected property

Holds the architecture of the calling convention.
protected BaseArchitecture,Mosa.Compiler.Framework architecture
return BaseArchitecture