tcg: Add tcg_set_insn_param
commit1d41478fd428e01f057d3248292e4cdcdb048523
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Thu, 12 May 2016 12:22:26 +0000 (12 13:22 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 12 May 2016 12:22:26 +0000 (12 13:22 +0100)
treee6aeb32d404b3bbd59fa0111c7ee6f92175678c8
parentdddb5223413c5425ae6eaeb3b967627efc9675f7
tcg: Add tcg_set_insn_param

Add tcg_set_insn_param as a mechanism to modify an insn
parameter after emiting the insn. This is useful for icount
and also for embedding fault information for a specific insn.

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-id: 1461931684-1867-2-git-send-email-edgar.iglesias@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
tcg/tcg.h