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

Наследование: Mosa.Compiler.Framework.CIL.BaseInstruction
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
opcode OpCode

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

Метод Описание
AllocateVirtualRegisterOrStackSlot ( BaseMethodCompiler compiler, MosaType type ) : Operand
BaseCILInstruction ( OpCode opCode, byte operandCount ) : Mosa.Compiler.MosaTypeSystem

Initializes a new instance of the BaseCILInstruction class.

BaseCILInstruction ( OpCode opCode, byte operandCount, byte resultCount ) : Mosa.Compiler.MosaTypeSystem

Initializes a new instance of the BaseCILInstruction class.

Decode ( InstructionNode ctx, IInstructionDecoder decoder ) : void

Decodes the specified instruction.

DecodeTargets ( IInstructionDecoder decoder ) : bool

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

AllocateVirtualRegisterOrStackSlot() публичный статический Метод

public static AllocateVirtualRegisterOrStackSlot ( BaseMethodCompiler compiler, MosaType type ) : Operand
compiler BaseMethodCompiler
type MosaType
Результат Operand

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

Initializes a new instance of the BaseCILInstruction class.
public BaseCILInstruction ( OpCode opCode, byte operandCount ) : Mosa.Compiler.MosaTypeSystem
opCode OpCode The op code.
operandCount byte The operand count.
Результат Mosa.Compiler.MosaTypeSystem

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

Initializes a new instance of the BaseCILInstruction class.
public BaseCILInstruction ( OpCode opCode, byte operandCount, byte resultCount ) : Mosa.Compiler.MosaTypeSystem
opCode OpCode The op code.
operandCount byte The operand count.
resultCount byte The result count.
Результат Mosa.Compiler.MosaTypeSystem

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

Описание свойств

opcode защищенное свойство

Holds the CIL opcode
protected OpCode opcode
Результат OpCode