summary refs log tree commit diff stats
path: root/hw/avr/arduino.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-09-10 14:17:30 -0700
committerRichard Henderson <richard.henderson@linaro.org>2024-09-22 06:54:49 +0200
commit83ac625c2bb14cc2991adedc9ac4f3f9ab3b096d (patch)
treee9f74a9fa925dffb7a45d2f385de76fed75d2271 /hw/avr/arduino.c
parent409b9e39bec1b43de982c4708832bac13d4a20ab (diff)
downloadfocaccia-qemu-83ac625c2bb14cc2991adedc9ac4f3f9ab3b096d.tar.gz
focaccia-qemu-83ac625c2bb14cc2991adedc9ac4f3f9ab3b096d.zip
tcg: Propagate new TCGOp to add_as_label_use
The use of tcg_last_op does not interact well with
TCGContext.emit_before_op, resulting in the label
being linked to something other than the branch op.

In this case it is easier to simply collect the emitted
branch op and pass it directly to add_as_label_use.

Reported-by: Elisha Hollander <just4now666666@gmail.com>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/avr/arduino.c')
0 files changed, 0 insertions, 0 deletions