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

Represents a unary branch instruction in internal representation.
This instruction is used to represent brfalse[.s] and brtrue[.s].
Inheritance: Mosa.Compiler.Framework.CIL.UnaryInstruction
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
UnaryBranchInstruction ( OpCode opcode ) : System

Initializes a new instance of the UnaryBranchInstruction class.

Méthodes protégées

Méthode Description
GetModifier ( InstructionNode node ) : string

Gets the instruction modifier.

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

GetModifier() protected méthode

Gets the instruction modifier.
protected GetModifier ( InstructionNode node ) : string
node InstructionNode The context.
Résultat string

UnaryBranchInstruction() public méthode

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