Skip to content

Commit

Permalink
- Preparing for SafePoints
Browse files Browse the repository at this point in the history
  • Loading branch information
tgiphil committed Nov 24, 2024
1 parent 66ec4b4 commit a56b343
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ protected static void CopyCompound(Transform transform, Context context, Operand

context.SetInstruction(IR.UnstableRegionStart);

context.SetInstruction(transform.AddInstruction, srcReg, sourceBase, source);
context.AppendInstruction(transform.AddInstruction, srcReg, sourceBase, source);
context.AppendInstruction(transform.AddInstruction, dstReg, destinationBase, destination);

var tmp = transform.VirtualRegisters.AllocateNativeInteger();
Expand Down Expand Up @@ -73,7 +73,7 @@ protected static void CopyCompound(Transform transform, Context context, Operand
}
}

context.SetInstruction(IR.UnstableRegionEnd);
context.AppendInstruction(IR.UnstableRegionEnd);
}

#endregion Helpers
Expand Down

0 comments on commit a56b343

Please sign in to comment.