From 4a15d7892b3cce7a03ec7a7223cbf0de0bacb984 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20Wei=C3=9F?= <leon.weiss@rub.de> Date: Fri, 20 Oct 2023 08:23:01 +0200 Subject: [PATCH] Revert "Handle index register of a memory operation being the pseudo-register RIZ/EIZ" This reverts commit 01262f752d128fb5396a24400faaddcc45453692. --- irdb-libs/libIRDB-core/src/operand_csx86.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/irdb-libs/libIRDB-core/src/operand_csx86.cpp b/irdb-libs/libIRDB-core/src/operand_csx86.cpp index a6dd22caa..f7c421607 100644 --- a/irdb-libs/libIRDB-core/src/operand_csx86.cpp +++ b/irdb-libs/libIRDB-core/src/operand_csx86.cpp @@ -176,9 +176,6 @@ static uint32_t to_reg_number(const x86_reg ®) case X86_REG_R15D: case X86_REG_R15W: return 15; - case X86_REG_RIZ: - case X86_REG_EIZ: - return -1; // STARS_x86_R_none, RIZ/EIZ is a pseudo-register having constant value of 0 default: break; } assert(0); -- GitLab