aboutsummaryrefslogtreecommitdiff
path: root/src/ARMeilleure/CodeGen/Unwinding/UnwindInfo.cs
blob: 127b84231f2c4379b29157336a5e46be9f7cccdf (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;
        }
    }
}