C# 클래스 Mosa.Compiler.Framework.CIL.BaseCILInstruction

상속: Mosa.Compiler.Framework.CIL.BaseInstruction
파일 보기 프로젝트 열기: tgiphil/MOSA-Project

보호된 프로퍼티들

프로퍼티 타입 설명
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