C# Класс Mosa.Compiler.Framework.CIL.UnaryBranchInstruction

Represents a unary branch instruction in internal representation.
This instruction is used to represent brfalse[.s] and brtrue[.s].
Наследование: Mosa.Compiler.Framework.CIL.UnaryInstruction
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
GetModifier ( InstructionNode node ) : string

Gets the instruction modifier.

Описание методов

Decode() публичный Метод

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.
Результат void

DecodeTargets() публичный Метод

public DecodeTargets ( IInstructionDecoder decoder ) : bool
decoder IInstructionDecoder
Результат bool

GetModifier() защищенный Метод

Gets the instruction modifier.
protected GetModifier ( InstructionNode node ) : string
node InstructionNode The context.
Результат string

UnaryBranchInstruction() публичный Метод

Initializes a new instance of the UnaryBranchInstruction class.
public UnaryBranchInstruction ( OpCode opcode ) : System
opcode OpCode The opcode.
Результат System