0
0
Fork 0
mirror of https://github.com/GreemDev/Ryujinx.git synced 2024-12-24 13:15:47 +00:00
Ryujinx/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;
}
}
}