aboutsummaryrefslogtreecommitdiff
path: root/ARMeilleure/CodeGen/Unwinding/UnwindInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ARMeilleure/CodeGen/Unwinding/UnwindInfo.cs')
-rw-r--r--ARMeilleure/CodeGen/Unwinding/UnwindInfo.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/ARMeilleure/CodeGen/Unwinding/UnwindInfo.cs b/ARMeilleure/CodeGen/Unwinding/UnwindInfo.cs
new file mode 100644
index 00000000..4955f1b4
--- /dev/null
+++ b/ARMeilleure/CodeGen/Unwinding/UnwindInfo.cs
@@ -0,0 +1,18 @@
+namespace ARMeilleure.CodeGen.Unwinding
+{
+ struct UnwindInfo
+ {
+ public UnwindPushEntry[] PushEntries { get; }
+
+ public int PrologueSize { get; }
+
+ public int FixedAllocSize { get; }
+
+ public UnwindInfo(UnwindPushEntry[] pushEntries, int prologueSize, int fixedAllocSize)
+ {
+ PushEntries = pushEntries;
+ PrologueSize = prologueSize;
+ FixedAllocSize = fixedAllocSize;
+ }
+ }
+} \ No newline at end of file