C# Class Mosa.Compiler.Framework.BasicBlock

Represents a block of instructions with no internal jumps and only one entry and exit.
Show file Open project: tgiphil/MOSA-Project Class Usage Examples

Public Properties

Property Type Description
CompilerBlockStartLabel int
EpilogueLabel int
PrologueLabel int
StartLabel int

Public Methods

Method Description
DebugCheck ( ) : void

Checks that all instructions are part of the block.

ToString ( ) : string

Returns a System.String that represents this instance.

Private Methods

Method Description
AddBranchInstruction ( InstructionNode node ) : void
BasicBlock ( int sequence, int label ) : System
FindTarget ( BasicBlock block ) : bool
RemoveBranchInstruction ( InstructionNode node ) : void

Method Details

DebugCheck() public method

Checks that all instructions are part of the block.
public DebugCheck ( ) : void
return void

ToString() public method

Returns a System.String that represents this instance.
public ToString ( ) : string
return string

Property Details

CompilerBlockStartLabel public static property

public static int CompilerBlockStartLabel
return int

EpilogueLabel public static property

public static int EpilogueLabel
return int

PrologueLabel public static property

public static int PrologueLabel
return int

StartLabel public static property

public static int StartLabel
return int