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, 9 insertions, 11 deletions
diff --git a/ARMeilleure/CodeGen/Unwinding/UnwindPushEntry.cs b/ARMeilleure/CodeGen/Unwinding/UnwindPushEntry.cs
index 6597e2b4..021479a4 100644
--- a/ARMeilleure/CodeGen/Unwinding/UnwindPushEntry.cs
+++ b/ARMeilleure/CodeGen/Unwinding/UnwindPushEntry.cs
@@ -1,20 +1,18 @@
-using ARMeilleure.IntermediateRepresentation;
-
namespace ARMeilleure.CodeGen.Unwinding
{
struct UnwindPushEntry
{
- public int Index { get; }
-
- public RegisterType Type { get; }
-
- public int StreamEndOffset { get; }
+ public UnwindPseudoOp PseudoOp { get; }
+ public int PrologOffset { get; }
+ public int RegIndex { get; }
+ public int StackOffsetOrAllocSize { get; }
- public UnwindPushEntry(int index, RegisterType type, int streamEndOffset)
+ public UnwindPushEntry(UnwindPseudoOp pseudoOp, int prologOffset, int regIndex = -1, int stackOffsetOrAllocSize = -1)
{
- Index = index;
- Type = type;
- StreamEndOffset = streamEndOffset;
+ PseudoOp = pseudoOp;
+ PrologOffset = prologOffset;
+ RegIndex = regIndex;
+ StackOffsetOrAllocSize = stackOffsetOrAllocSize;
}
}
} \ No newline at end of file