mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-24 01:52:03 +00:00
26 lines
697 B
C#
26 lines
697 B
C#
|
using ARMeilleure.IntermediateRepresentation;
|
||
|
|
||
|
namespace ARMeilleure.Translation
|
||
|
{
|
||
|
struct CompilerContext
|
||
|
{
|
||
|
public ControlFlowGraph Cfg { get; }
|
||
|
|
||
|
public OperandType[] FuncArgTypes { get; }
|
||
|
public OperandType FuncReturnType { get; }
|
||
|
|
||
|
public CompilerOptions Options { get; }
|
||
|
|
||
|
public CompilerContext(
|
||
|
ControlFlowGraph cfg,
|
||
|
OperandType[] funcArgTypes,
|
||
|
OperandType funcReturnType,
|
||
|
CompilerOptions options)
|
||
|
{
|
||
|
Cfg = cfg;
|
||
|
FuncArgTypes = funcArgTypes;
|
||
|
FuncReturnType = funcReturnType;
|
||
|
Options = options;
|
||
|
}
|
||
|
}
|
||
|
}
|