x86_64-asm: fix copy-out registers
commit0bca6cab06405ede5343bc22f8571b1a88aa8c22
authorMichael Matz <matz@suse.de>
Mon, 3 Oct 2016 03:34:01 +0000 (3 05:34 +0200)
committerMichael Matz <matz@suse.de>
Thu, 15 Dec 2016 16:47:12 +0000 (15 17:47 +0100)
tree08df6f6336ce1db7e0d4c282195d1967e3e5cb73
parentad723a419fd956d984a0956713566453ba8f6a12
x86_64-asm: fix copy-out registers

If the destination is an indirect pointer access (which ends up
as VT_LLOCAL) the intermediate pointer must be loaded as VT_PTR,
not as whatever the pointed to type is.
i386-asm.c
tests/tcctest.c