Home
last modified time | relevance | path

Searched hist:"9 d6fca70" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/tcg/
H A Dtcg.c9d6fca70 Sat Mar 10 12:59:04 CST 2012 Stefan Weil <sw@weilnetz.de> tcg: Improve tcg_out_label and fix its usage for w64

tcg_out_label is always called with a third argument of pointer type
which was casted to tcg_target_long.

These casts can be avoided by changing the prototype of tcg_out_label.

There was also a cast to long. For most hosts with
sizeof(long) == sizeof(tcg_target_long) == sizeof(void *) this did not
matter, but for w64 it was wrong. This is fixed now.

Cc: Blue Swirl <blauwirbel@gmail.com>
Cc: Richard Henderson <rth@twiddle.net>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>