C# 클래스 Mosa.Compiler.Framework.Stages.CodeGenerationStage

Base class for code generation stages.
상속: BaseMethodCompilerStage, ICodeGenerationStage, IMethodCompilerStage, IPipelineStage
파일 보기 프로젝트 열기: tgiphil/MOSA-Project

보호된 프로퍼티들

프로퍼티 타입 설명
codeEmitter BaseCodeEmitter
codeStream Stream

공개 메소드들

메소드 설명
CodeGenerationStage ( ) : System

Initializes a new instance of the CodeGenerationStage class.

CodeGenerationStage ( bool emitBinary ) : System

Initializes a new instance of the CodeGenerationStage class.

보호된 메소드들

메소드 설명
BeginGenerate ( ) : void

Begins the generate.

BlockEnd ( BasicBlock block ) : void

Completion of code generation for a block.

BlockStart ( BasicBlock block ) : void

Start of code generation for a block.

EmitInstructions ( ) : void

Called to emit a list of instructions offered by the instruction provider.

EndGenerate ( ) : void

Code generation completed.

Run ( ) : void

메소드 상세

BeginGenerate() 보호된 메소드

Begins the generate.
protected BeginGenerate ( ) : void
리턴 void

BlockEnd() 보호된 메소드

Completion of code generation for a block.
protected BlockEnd ( BasicBlock block ) : void
block BasicBlock The completed block.
리턴 void

BlockStart() 보호된 메소드

Start of code generation for a block.
protected BlockStart ( BasicBlock block ) : void
block BasicBlock The started block.
리턴 void

CodeGenerationStage() 공개 메소드

Initializes a new instance of the CodeGenerationStage class.
public CodeGenerationStage ( ) : System
리턴 System

CodeGenerationStage() 공개 메소드

Initializes a new instance of the CodeGenerationStage class.
public CodeGenerationStage ( bool emitBinary ) : System
emitBinary bool if set to true [emit binary].
리턴 System

EmitInstructions() 보호된 메소드

Called to emit a list of instructions offered by the instruction provider.
protected EmitInstructions ( ) : void
리턴 void

EndGenerate() 보호된 메소드

Code generation completed.
protected EndGenerate ( ) : void
리턴 void

Run() 보호된 메소드

protected Run ( ) : void
리턴 void

프로퍼티 상세

codeEmitter 보호되어 있는 프로퍼티

protected BaseCodeEmitter codeEmitter
리턴 BaseCodeEmitter

codeStream 보호되어 있는 프로퍼티

Holds the stream, where code is emitted to.
protected Stream codeStream
리턴 Stream