Fix build issues

This commit is contained in:
Thog 2020-01-03 19:09:56 +01:00
parent 600a8b5e9e
commit afe6f87c08
No known key found for this signature in database
GPG key ID: 0CD291558FAFDBC6
2 changed files with 2 additions and 5 deletions

View file

@ -276,7 +276,7 @@ namespace ARMeilleure.Instructions
SetAluDOrZR(context, d);
}
private static Operand EmitReverseBits32Op(ArmEmitterContext context, Operand op)
public static Operand EmitReverseBits32Op(ArmEmitterContext context, Operand op)
{
Debug.Assert(op.Type == OperandType.I32);

View file

@ -480,11 +480,8 @@ namespace ARMeilleure.Instructions
}
public static void Rbit(ArmEmitterContext context)
{
OpCode32Alu op = (OpCode32Alu)context.CurrOp;
Operand m = GetAluM(context);
Operand res = context.Call(new _U32_U32(SoftFallback.ReverseBits32), m);
Operand res = InstEmit.EmitReverseBits32Op(context, m);
EmitAluStore(context, res);
}