Ryujinx-git/ARMeilleure/CodeGen/Unwinding/UnwindPushEntry.cs
LDj3SNuD 3b70a28087
Unwinding Follow-up. Fix a bug in JitUnwindWindows where ... (#1238)
... in case of "Vector" unwind codes the remaining unwind codes could be corrupted.
Nits.
2020-05-15 13:46:35 +02:00

18 lines
No EOL
574 B
C#

namespace ARMeilleure.CodeGen.Unwinding
{
struct UnwindPushEntry
{
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;
}
}
}