From fd56195b2d861b08f547b1638f733db5569ea44a Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Fri, 27 Nov 2015 09:21:37 +0100 Subject: [PATCH] x86emitter: drop old register define --- common/include/x86emitter/legacy_types.h | 26 ------------------------ 1 file changed, 26 deletions(-) diff --git a/common/include/x86emitter/legacy_types.h b/common/include/x86emitter/legacy_types.h index 9b00d19fe4..1de549247a 100644 --- a/common/include/x86emitter/legacy_types.h +++ b/common/include/x86emitter/legacy_types.h @@ -15,36 +15,10 @@ #pragma once -#if defined(__linux__) && defined(__clang__) - -[[deprecated]] const int DISP32 = 5; // maps to EBP - -[[deprecated]] const int EAX = 0; -[[deprecated]] const int EBX = 3; -[[deprecated]] const int ECX = 1; -[[deprecated]] const int EDX = 2; -[[deprecated]] const int ESI = 6; -[[deprecated]] const int EDI = 7; -[[deprecated]] const int EBP = 5; -[[deprecated]] const int ESP = 4; - -#else - //#define SIB 4 // maps to ESP //#define SIBDISP 5 // maps to EBP #define DISP32 5 // maps to EBP -#define EAX 0 -#define EBX 3 -#define ECX 1 -#define EDX 2 -#define ESI 6 -#define EDI 7 -#define EBP 5 -#define ESP 4 - -#endif - // general types typedef int x86IntRegType; typedef int x86MMXRegType;