language feature: Extension Members: OperandType

This commit is contained in:
GreemDev
2025-07-02 02:22:43 -05:00
parent 274ec74856
commit 6a1dec9f91
16 changed files with 161 additions and 171 deletions

View File

@@ -16,7 +16,7 @@ namespace ARMeilleure.Instructions
public static Operand EmitCrc32(ArmEmitterContext context, Operand crc, Operand value, int size, bool castagnoli)
{
Debug.Assert(crc.Type.IsInteger() && value.Type.IsInteger());
Debug.Assert(crc.Type.IsInteger && value.Type.IsInteger);
Debug.Assert(size is >= 0 and < 4);
Debug.Assert((size < 3) || (value.Type == OperandType.I64));