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

Inheritance: Mosa.Compiler.Framework.CIL.BaseInstruction
Afficher le fichier Open project: tgiphil/MOSA-Project

Protected Properties

Свойство Type Description
opcode OpCode

Méthodes publiques

Méthode Description
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

Method Details

AllocateVirtualRegisterOrStackSlot() public static méthode

public static AllocateVirtualRegisterOrStackSlot ( BaseMethodCompiler compiler, MosaType type ) : Operand
compiler BaseMethodCompiler
type MosaType
Résultat Operand

BaseCILInstruction() public méthode

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.
Résultat Mosa.Compiler.MosaTypeSystem

BaseCILInstruction() public méthode

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.
Résultat Mosa.Compiler.MosaTypeSystem

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

Property Details

opcode protected_oe property

Holds the CIL opcode
protected OpCode opcode
Résultat OpCode