diff options
author | LDj3SNuD <35856442+LDj3SNuD@users.noreply.github.com> | 2020-05-15 13:46:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-15 13:46:35 +0200 |
commit | 3b70a28087a52f18c376a5cdf35fd6c910e064e8 (patch) | |
tree | 30687a3434b22d260a7a6ad221f5a5b44f09fe44 /ARMeilleure/CodeGen/Unwinding/UnwindPushEntry.cs | |
parent | da3fd3f71bae0677c794d11b48131823e183194c (diff) |
Unwinding Follow-up. Fix a bug in JitUnwindWindows where ... (#1238)
... in case of "Vector" unwind codes the remaining unwind codes could be corrupted.
Nits.
Diffstat (limited to 'ARMeilleure/CodeGen/Unwinding/UnwindPushEntry.cs')
-rw-r--r-- | ARMeilleure/CodeGen/Unwinding/UnwindPushEntry.cs | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/ARMeilleure/CodeGen/Unwinding/UnwindPushEntry.cs b/ARMeilleure/CodeGen/Unwinding/UnwindPushEntry.cs index 6597e2b4..021479a4 100644 --- a/ARMeilleure/CodeGen/Unwinding/UnwindPushEntry.cs +++ b/ARMeilleure/CodeGen/Unwinding/UnwindPushEntry.cs @@ -1,20 +1,18 @@ -using ARMeilleure.IntermediateRepresentation; - namespace ARMeilleure.CodeGen.Unwinding { struct UnwindPushEntry { - public int Index { get; } - - public RegisterType Type { get; } - - public int StreamEndOffset { get; } + public UnwindPseudoOp PseudoOp { get; } + public int PrologOffset { get; } + public int RegIndex { get; } + public int StackOffsetOrAllocSize { get; } - public UnwindPushEntry(int index, RegisterType type, int streamEndOffset) + public UnwindPushEntry(UnwindPseudoOp pseudoOp, int prologOffset, int regIndex = -1, int stackOffsetOrAllocSize = -1) { - Index = index; - Type = type; - StreamEndOffset = streamEndOffset; + PseudoOp = pseudoOp; + PrologOffset = prologOffset; + RegIndex = regIndex; + StackOffsetOrAllocSize = stackOffsetOrAllocSize; } } }
\ No newline at end of file |