C# Class Mosa.Compiler.Framework.Stages.CodeGenerationStage

Base class for code generation stages.
Inheritance: BaseMethodCompilerStage, ICodeGenerationStage, IMethodCompilerStage, IPipelineStage
Afficher le fichier Open project: tgiphil/MOSA-Project

Protected Properties

Свойство Type Description
codeEmitter BaseCodeEmitter
codeStream Stream

Méthodes publiques

Méthode Description
CodeGenerationStage ( ) : System

Initializes a new instance of the CodeGenerationStage class.

CodeGenerationStage ( bool emitBinary ) : System

Initializes a new instance of the CodeGenerationStage class.

Méthodes protégées

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

Method Details

BeginGenerate() protected méthode

Begins the generate.
protected BeginGenerate ( ) : void
Résultat void

BlockEnd() protected méthode

Completion of code generation for a block.
protected BlockEnd ( BasicBlock block ) : void
block BasicBlock The completed block.
Résultat void

BlockStart() protected méthode

Start of code generation for a block.
protected BlockStart ( BasicBlock block ) : void
block BasicBlock The started block.
Résultat void

CodeGenerationStage() public méthode

Initializes a new instance of the CodeGenerationStage class.
public CodeGenerationStage ( ) : System
Résultat System

CodeGenerationStage() public méthode

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

EmitInstructions() protected méthode

Called to emit a list of instructions offered by the instruction provider.
protected EmitInstructions ( ) : void
Résultat void

EndGenerate() protected méthode

Code generation completed.
protected EndGenerate ( ) : void
Résultat void

Run() protected méthode

protected Run ( ) : void
Résultat void

Property Details

codeEmitter protected_oe property

protected BaseCodeEmitter codeEmitter
Résultat BaseCodeEmitter

codeStream protected_oe property

Holds the stream, where code is emitted to.
protected Stream codeStream
Résultat Stream