aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilip Navara <filip.navara@gmail.com>2009-07-27 10:02:07 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2009-07-27 14:09:15 -0500
commita8cd70fc4e932aa00e951b1fd93230336e5125fd (patch)
treef5b570cf1fa1a197eb2ccf543512773c0704b2d2
parent45b05c774da3c5d9baee122fbf5f3711bce39a5c (diff)
Enable USE_DIRECT_JUMP on Win32.
Signed-off-by: Filip Navara <filip.navara@gmail.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r--exec-all.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/exec-all.h b/exec-all.h
index 31ab7ad930..c7a1e70b2b 100644
--- a/exec-all.h
+++ b/exec-all.h
@@ -114,10 +114,7 @@ static inline int tlb_set_page(CPUState *env1, target_ulong vaddr,
#define CODE_GEN_AVG_BLOCK_SIZE 64
#endif
-#if defined(_ARCH_PPC) || defined(__x86_64__) || defined(__arm__)
-#define USE_DIRECT_JUMP
-#endif
-#if defined(__i386__) && !defined(_WIN32)
+#if defined(_ARCH_PPC) || defined(__x86_64__) || defined(__arm__) || defined(__i386__)
#define USE_DIRECT_JUMP
#endif