aboutsummaryrefslogtreecommitdiff
path: root/src/ARMeilleure/CodeGen/Unwinding/UnwindInfo.cs
blob: 3d0bc21d58aecdf86679de6b207d2242b0cdec58 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
namespace ARMeilleure.CodeGen.Unwinding
{
    struct UnwindInfo
    {
        public const int Stride = 4; // Bytes.

        public UnwindPushEntry[] PushEntries { get; }
        public int PrologSize { get; }

        public UnwindInfo(UnwindPushEntry[] pushEntries, int prologSize)
        {
            PushEntries = pushEntries;
            PrologSize = prologSize;
        }
    }
}