C# Класс Mosa.Compiler.Framework.Stages.CodeGenerationStage

Base class for code generation stages.
Наследование: BaseMethodCompilerStage, ICodeGenerationStage, IMethodCompilerStage, IPipelineStage
Показать файл Открыть проект

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

Свойство Тип Описание
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