aboutsummaryrefslogblamecommitdiff
path: root/ARMeilleure/CodeGen/Unwinding/UnwindInfo.cs
blob: 3d0bc21d58aecdf86679de6b207d2242b0cdec58 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                       
                                              
                                                     
                                      
 
                                                                        
         
                                      

         
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;
        }
    }
}