C-minor v0.0

NativeCodeGenerator.StartFunction Method

Assembly: Topten.Cminor.Compiler.dll
Namespace: Topten.Cminor.CodeGen.Native
Declaring Type: NativeCodeGenerator

Start the generation of a function

public void StartFunction(Label label, Operand returnType, params Operand[] parameters);

Remarks

The label should be already created and will be marked with the address of the function

Parameters

Label label

A label used to reference this function

Operand returnType

The function's return type

params Operand[] parameters

The function's parameter types