]> git.proxmox.com Git - mirror_qemu.git/commit
tcg: Use uintptr_t type for jmp_list_{next|first} fields of TB
authorSergey Fedorov <serge.fdrv@gmail.com>
Mon, 21 Mar 2016 20:11:00 +0000 (23:11 +0300)
committerRichard Henderson <rth@twiddle.net>
Fri, 13 May 2016 00:06:41 +0000 (14:06 -1000)
commitc37e6d7e3589ecb96914faa21025ad7ba6654aea
tree33ca104e4e929d4ae0cc3e1ac27ffc63d0329981
parentf309101c26b59641fc1aa8fb2a98a5441cdaea03
tcg: Use uintptr_t type for jmp_list_{next|first} fields of TB

These fields do not contain pure pointers to a TranslationBlock
structure. So uintptr_t is the most appropriate type for them.
Also put some asserts to assure that the two least significant bits of
the pointer are always zero before assigning it to jmp_list_first.

Signed-off-by: Sergey Fedorov <serge.fdrv@gmail.com>
Signed-off-by: Sergey Fedorov <sergey.fedorov@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
include/exec/exec-all.h
translate-all.c