diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-12-23 00:49:32 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-12-23 00:49:32 +0000 |
commit | 70ead4341212ecb3181d5c780284cef0fc7b51fc (patch) | |
tree | 18a3130f15211d95b66e319eec1aab7a929f8d1b /dyngen-exec.h | |
parent | 5bf089345be113089881163914a4d448f5365480 (diff) |
Use memory barriers in FORCE_RET / RETURN.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2273 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'dyngen-exec.h')
-rw-r--r-- | dyngen-exec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dyngen-exec.h b/dyngen-exec.h index 0c392283d4..2f3878561c 100644 --- a/dyngen-exec.h +++ b/dyngen-exec.h @@ -188,7 +188,7 @@ extern int printf(const char *, ...); #endif /* force GCC to generate only one epilog at the end of the function */ -#define FORCE_RET() asm volatile (""); +#define FORCE_RET() __asm__ __volatile__("" : : : "memory"); #ifndef OPPROTO #define OPPROTO |