From c01ee8c3e34af749bef76b05c9a8e54d2f9bc32d Mon Sep 17 00:00:00 2001 From: offtkp Date: Mon, 2 Sep 2024 00:41:26 +0300 Subject: [PATCH] Format code --- src/core/cpu_patches.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/cpu_patches.cpp b/src/core/cpu_patches.cpp index 330b7e701..277c0e928 100644 --- a/src/core/cpu_patches.cpp +++ b/src/core/cpu_patches.cpp @@ -743,7 +743,7 @@ static void GenerateINSERTQ(const ZydisDecodedOperand* operands, Xbyak::CodeGene operands[3].type == ZYDIS_OPERAND_TYPE_IMMEDIATE; ASSERT_MSG(operands[0].type == ZYDIS_OPERAND_TYPE_REGISTER && - operands[1].type == ZYDIS_OPERAND_TYPE_REGISTER, + operands[1].type == ZYDIS_OPERAND_TYPE_REGISTER, "operands 0 and 1 must be registers."); const auto dst = ZydisToXbyakRegisterOperand(operands[0]); @@ -809,7 +809,7 @@ static void GenerateINSERTQ(const ZydisDecodedOperand* operands, Xbyak::CodeGene c.lea(rsp, ptr[rsp + 128]); } else { ASSERT_MSG(operands[2].type == ZYDIS_OPERAND_TYPE_UNUSED && - operands[3].type == ZYDIS_OPERAND_TYPE_UNUSED, + operands[3].type == ZYDIS_OPERAND_TYPE_UNUSED, "operands 2 and 3 must be unused for register form."); const Xbyak::Reg64 scratch1 = rax;