C# Class Mosa.Compiler.Framework.BaseCallingConvention

This abstract class provides support to emit calling convention specific code.
显示文件 Open project: tgiphil/MOSA-Project

Public Methods

Method Description
MakeCall ( BaseMethodCompiler compiler, Context context ) : void

Expands method call instruction represented by the context to perform the method call.

SetReturnValue ( BaseMethodCompiler compiler, Context context, Operand operand ) : void

Requests the calling convention to create an appropriate move instruction to populate the return value of a method.

Method Details

MakeCall() public abstract method

Expands method call instruction represented by the context to perform the method call.
public abstract MakeCall ( BaseMethodCompiler compiler, Context context ) : void
compiler BaseMethodCompiler The compiler.
context Context The context.
return void

SetReturnValue() public abstract method

Requests the calling convention to create an appropriate move instruction to populate the return value of a method.
public abstract SetReturnValue ( BaseMethodCompiler compiler, Context context, Operand operand ) : void
compiler BaseMethodCompiler The compiler.
context Context The context.
operand Operand The operand, that's holding the return value.
return void