C# Class Mosa.Compiler.Trace.InstructionLogger

Logs all instructions.
Show file Open project: tgiphil/MOSA-Project

Public Methods

Method Description
Run ( BaseMethodCompiler methodCompiler, IPipelineStage stage ) : void
Run ( CompilerTrace compilerTrace, string stage, MosaMethod method, BasicBlocks basicBlocks ) : void

Private Methods

Method Description
ListBlocks ( IList blocks ) : string
LogInstructions ( TraceLog traceLog, InstructionNode node ) : void

Logs the instructions in the given enumerable to the trace.

Method Details

Run() public static method

public static Run ( BaseMethodCompiler methodCompiler, IPipelineStage stage ) : void
methodCompiler Mosa.Compiler.Framework.BaseMethodCompiler
stage IPipelineStage
return void

Run() public static method

public static Run ( CompilerTrace compilerTrace, string stage, MosaMethod method, BasicBlocks basicBlocks ) : void
compilerTrace CompilerTrace
stage string
method MosaMethod
basicBlocks BasicBlocks
return void