From 3b70a28087a52f18c376a5cdf35fd6c910e064e8 Mon Sep 17 00:00:00 2001 From: LDj3SNuD <35856442+LDj3SNuD@users.noreply.github.com> Date: Fri, 15 May 2020 13:46:35 +0200 Subject: Unwinding Follow-up. Fix a bug in JitUnwindWindows where ... (#1238) ... in case of "Vector" unwind codes the remaining unwind codes could be corrupted. Nits. --- ARMeilleure/CodeGen/Unwinding/UnwindInfo.cs | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'ARMeilleure/CodeGen/Unwinding/UnwindInfo.cs') diff --git a/ARMeilleure/CodeGen/Unwinding/UnwindInfo.cs b/ARMeilleure/CodeGen/Unwinding/UnwindInfo.cs index 4955f1b4..8072acd9 100644 --- a/ARMeilleure/CodeGen/Unwinding/UnwindInfo.cs +++ b/ARMeilleure/CodeGen/Unwinding/UnwindInfo.cs @@ -3,16 +3,12 @@ namespace ARMeilleure.CodeGen.Unwinding struct UnwindInfo { public UnwindPushEntry[] PushEntries { get; } + public int PrologSize { get; } - public int PrologueSize { get; } - - public int FixedAllocSize { get; } - - public UnwindInfo(UnwindPushEntry[] pushEntries, int prologueSize, int fixedAllocSize) + public UnwindInfo(UnwindPushEntry[] pushEntries, int prologSize) { - PushEntries = pushEntries; - PrologueSize = prologueSize; - FixedAllocSize = fixedAllocSize; + PushEntries = pushEntries; + PrologSize = prologSize; } } } \ No newline at end of file -- cgit v1.2.3