aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Cpu/LightningJit/Arm32/PendingBranch.cs
blob: 8f48cd076d46e860920fffb205279f54f229c642 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
namespace Ryujinx.Cpu.LightningJit.Arm32
{
    readonly struct PendingBranch
    {
        public readonly BranchType BranchType;
        public readonly uint TargetAddress;
        public readonly uint NextAddress;
        public readonly InstName Name;
        public readonly int WriterPointer;

        public PendingBranch(BranchType branchType, uint targetAddress, uint nextAddress, InstName name, int writerPointer)
        {
            BranchType = branchType;
            TargetAddress = targetAddress;
            NextAddress = nextAddress;
            Name = name;
            WriterPointer = writerPointer;
        }
    }
}