summaryrefslogtreecommitdiffstats
path: root/exec.h
diff options
context:
space:
mode:
authorbellard2003-07-01 01:18:59 +0200
committerbellard2003-07-01 01:18:59 +0200
commit2f62b397b5603f39deb9bdb170206e4e9e525139 (patch)
treea9f55273cb4f1bc4443065e354fe344872df9f81 /exec.h
parentfixed invalid irq jump chaining (diff)
downloadqemu-2f62b397b5603f39deb9bdb170206e4e9e525139.tar.gz
qemu-2f62b397b5603f39deb9bdb170206e4e9e525139.tar.xz
qemu-2f62b397b5603f39deb9bdb170206e4e9e525139.zip
dummy label to avoid gcc optimisations
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@301 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'exec.h')
-rw-r--r--exec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/exec.h b/exec.h
index bd36453ba2..92b248db03 100644
--- a/exec.h
+++ b/exec.h
@@ -219,10 +219,12 @@ label ## n:\
#define JUMP_TB(tbparam, n, eip)\
do {\
static void __attribute__((unused)) *__op_label ## n = &&label ## n;\
+ static void __attribute__((unused)) *dummy ## n = &&dummy_label ## n;\
goto *(void *)(((TranslationBlock *)tbparam)->tb_next[n]);\
label ## n:\
T0 = (long)(tbparam) + (n);\
EIP = eip;\
+dummy_label ## n:\
} while (0)
#endif