提交 2f62b397 编写于 作者: B bellard

dummy label to avoid gcc optimisations


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@301 c046a42c-6fe2-441c-8c8c-71466251a162
上级 907a5b26
...@@ -219,10 +219,12 @@ label ## n:\ ...@@ -219,10 +219,12 @@ label ## n:\
#define JUMP_TB(tbparam, n, eip)\ #define JUMP_TB(tbparam, n, eip)\
do {\ do {\
static void __attribute__((unused)) *__op_label ## n = &&label ## n;\ 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]);\ goto *(void *)(((TranslationBlock *)tbparam)->tb_next[n]);\
label ## n:\ label ## n:\
T0 = (long)(tbparam) + (n);\ T0 = (long)(tbparam) + (n);\
EIP = eip;\ EIP = eip;\
dummy_label ## n:\
} while (0) } while (0)
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册