aboutsummaryrefslogtreecommitdiff
path: root/ChocolArm64/Translation/ILOpCodeBranch.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ChocolArm64/Translation/ILOpCodeBranch.cs')
-rw-r--r--ChocolArm64/Translation/ILOpCodeBranch.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/ChocolArm64/Translation/ILOpCodeBranch.cs b/ChocolArm64/Translation/ILOpCodeBranch.cs
index 22b80b5d..9d4e40fa 100644
--- a/ChocolArm64/Translation/ILOpCodeBranch.cs
+++ b/ChocolArm64/Translation/ILOpCodeBranch.cs
@@ -4,18 +4,18 @@ namespace ChocolArm64.Translation
{
struct ILOpCodeBranch : IILEmit
{
- private OpCode _ilOp;
- private ILLabel _label;
+ public OpCode ILOp { get; }
+ public ILLabel Label { get; }
public ILOpCodeBranch(OpCode ilOp, ILLabel label)
{
- _ilOp = ilOp;
- _label = label;
+ ILOp = ilOp;
+ Label = label;
}
public void Emit(ILMethodBuilder context)
{
- context.Generator.Emit(_ilOp, _label.GetLabel(context));
+ context.Generator.Emit(ILOp, Label.GetLabel(context));
}
}
} \ No newline at end of file