aboutsummaryrefslogtreecommitdiff
path: root/ARMeilleure/CodeGen/Unwinding/UnwindPushEntry.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ARMeilleure/CodeGen/Unwinding/UnwindPushEntry.cs')
-rw-r--r--ARMeilleure/CodeGen/Unwinding/UnwindPushEntry.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/ARMeilleure/CodeGen/Unwinding/UnwindPushEntry.cs b/ARMeilleure/CodeGen/Unwinding/UnwindPushEntry.cs
new file mode 100644
index 00000000..6597e2b4
--- /dev/null
+++ b/ARMeilleure/CodeGen/Unwinding/UnwindPushEntry.cs
@@ -0,0 +1,20 @@
+using ARMeilleure.IntermediateRepresentation;
+
+namespace ARMeilleure.CodeGen.Unwinding
+{
+ struct UnwindPushEntry
+ {
+ public int Index { get; }
+
+ public RegisterType Type { get; }
+
+ public int StreamEndOffset { get; }
+
+ public UnwindPushEntry(int index, RegisterType type, int streamEndOffset)
+ {
+ Index = index;
+ Type = type;
+ StreamEndOffset = streamEndOffset;
+ }
+ }
+} \ No newline at end of file