C# Class CSPspEmu.Core.Cpu.Dynarec.DynarecFunctionCompiler.InternalFunctionCompiler

Mostra file Open project: soywiz/cspspemu

Public Properties

Property Type Description
CallingPCs List
CpuEmitterInstruction Func

Public Methods

Method Description
ExploreNewPcCallback ( uint PC ) : void
IsDebuggerPresentDebugBreak ( ) : void

Private Methods

Method Description
AddressInsideFunction ( uint PC ) : bool
AnalyzeBranches ( ) : void

PASS 1: Analyze Branches

CreateFunction ( ) : DynarecFunction

EmitCpuInstruction ( ) : AstNodeStm
EmitInstructionCountIncrement ( bool CheckForYield ) : AstNodeStm
GenerateCode ( ) : AstNodeStmContainer

PASS 2: Generate code and put labels;

InternalFunctionCompiler ( InjectContext InjectContext, MipsMethodEmitter MipsMethodEmitter, DynarecFunctionCompiler DynarecFunctionCompiler, IInstructionReader InstructionReader, Action _ExploreNewPcCallback, uint EntryPC, bool DoLog ) : System
LogInstruction ( uint PC, Instruction Instruction ) : void
ProcessGeneratedInstruction ( MipsDisassembler Disasm, AstNodeStm AstNodeStm ) : AstNodeStm
ShowInstructionStats ( ) : void
StorePC ( ) : AstNodeStm
TryPutLabelAT ( uint PC, AstNodeStmContainer Nodes ) : void
UpdateMinMax ( uint PC ) : void
_GetAstCpuInstructionAT ( uint PC ) : AstNodeStmPspInstruction

Method Details

ExploreNewPcCallback() public method

public ExploreNewPcCallback ( uint PC ) : void
PC uint
return void

IsDebuggerPresentDebugBreak() public static method

public static IsDebuggerPresentDebugBreak ( ) : void
return void

Property Details

CallingPCs public_oe property

public List CallingPCs
return List

CpuEmitterInstruction public_oe static_oe property

public static Func CpuEmitterInstruction
return Func