C# Class Mosa.Compiler.Framework.CIL.InvokeInstruction

Base class for instructions, which invoke other functions.
Inheritance: BaseCILInstruction
Afficher le fichier Open project: tgiphil/MOSA-Project

Méthodes publiques

Méthode Description
Decode ( InstructionNode ctx, IInstructionDecoder decoder ) : void

Decodes the specified instruction.

InvokeInstruction ( OpCode opcode ) : System

Initializes a new instance of the InvokeInstruction class.

Resolve ( Context ctx, BaseMethodCompiler compiler ) : void

Validates the instruction operands and creates a matching variable for the result.

Méthodes protégées

Méthode Description
DecodeInvocationTarget ( InstructionNode ctx, IInstructionDecoder decoder, InvokeSupportFlags flags ) : MosaMethod

Decodes the invocation target.

Private Methods

Méthode Description
SetInvokeTarget ( InstructionNode context, BaseMethodCompiler compiler, MosaMethod method ) : void

Sets the invoke target.

Method Details

Decode() public méthode

Decodes the specified instruction.
public Decode ( InstructionNode ctx, IInstructionDecoder decoder ) : void
ctx InstructionNode The context.
decoder IInstructionDecoder The instruction decoder, which holds the code stream.
Résultat void

DecodeInvocationTarget() protected static méthode

Decodes the invocation target.
protected static DecodeInvocationTarget ( InstructionNode ctx, IInstructionDecoder decoder, InvokeSupportFlags flags ) : MosaMethod
ctx InstructionNode The context.
decoder IInstructionDecoder The IL decoder, which provides decoding functionality.
flags InvokeSupportFlags Flags, which control the
Résultat MosaMethod

InvokeInstruction() public méthode

Initializes a new instance of the InvokeInstruction class.
public InvokeInstruction ( OpCode opcode ) : System
opcode OpCode The opcode.
Résultat System

Resolve() public méthode

Validates the instruction operands and creates a matching variable for the result.
public Resolve ( Context ctx, BaseMethodCompiler compiler ) : void
ctx Context The context.
compiler BaseMethodCompiler The compiler.
Résultat void