summaryrefslogtreecommitdiff
path: root/libitm/config/x86/target.h
diff options
context:
space:
mode:
Diffstat (limited to 'libitm/config/x86/target.h')
-rw-r--r--libitm/config/x86/target.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/libitm/config/x86/target.h b/libitm/config/x86/target.h
index 73b6585ae70..74f4f92cfbc 100644
--- a/libitm/config/x86/target.h
+++ b/libitm/config/x86/target.h
@@ -24,11 +24,11 @@
namespace GTM HIDDEN {
-#ifdef __x86_64__
/* ??? This doesn't work for Win64. */
typedef struct gtm_jmpbuf
{
void *cfa;
+#ifdef __x86_64__
unsigned long long rbx;
unsigned long long rbp;
unsigned long long r12;
@@ -36,18 +36,14 @@ typedef struct gtm_jmpbuf
unsigned long long r14;
unsigned long long r15;
unsigned long long rip;
-} gtm_jmpbuf;
#else
-typedef struct gtm_jmpbuf
-{
- void *cfa;
unsigned long ebx;
unsigned long esi;
unsigned long edi;
unsigned long ebp;
unsigned long eip;
-} gtm_jmpbuf;
#endif
+} gtm_jmpbuf;
/* x86 doesn't require strict alignment for the basic types. */
#define STRICT_ALIGNMENT 0