Ryujinx/src/ARMeilleure/CodeGen/Unwinding/UnwindPushEntry.cs
2023-04-27 23:51:14 +02:00

20 lines
No EOL
623 B
C#

namespace ARMeilleure.CodeGen.Unwinding
{
struct UnwindPushEntry
{
public const int Stride = 16; // Bytes.
public UnwindPseudoOp PseudoOp { get; }
public int PrologOffset { get; }
public int RegIndex { get; }
public int StackOffsetOrAllocSize { get; }
public UnwindPushEntry(UnwindPseudoOp pseudoOp, int prologOffset, int regIndex = -1, int stackOffsetOrAllocSize = -1)
{
PseudoOp = pseudoOp;
PrologOffset = prologOffset;
RegIndex = regIndex;
StackOffsetOrAllocSize = stackOffsetOrAllocSize;
}
}
}