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

Intermediate representation for the IL switch instruction.
Inheritance: UnaryBranchInstruction
Afficher le fichier Open project: tgiphil/MOSA-Project

Méthodes publiques

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

Decodes the specified instruction.

DecodeTargets ( IInstructionDecoder decoder ) : bool
SwitchInstruction ( OpCode opcode )

Initializes a new instance of the SwitchInstruction class.

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

DecodeTargets() public méthode

public DecodeTargets ( IInstructionDecoder decoder ) : bool
decoder IInstructionDecoder
Résultat bool

SwitchInstruction() public méthode

Initializes a new instance of the SwitchInstruction class.
public SwitchInstruction ( OpCode opcode )
opcode OpCode The opcode.