C-minor v0.0

NativeCodeGenerator.Call Method

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

Generate a call to a function, passing the top N parameters

public void Call(Label label, int paramCount, Operand returnType);

Parameters

Label label

THe function to call

int paramCount

The number of parameters to pop from stack and pass to function

Operand returnType

The return type of the function (which will be pushed to the v-stack