summary refs log tree commit diff stats
path: root/tcg/arm/tcg-target.c.inc
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-08-15 16:34:59 +0000
committerRichard Henderson <richard.henderson@linaro.org>2023-09-16 14:57:16 +0000
commit9358fbbf6e478e0d734756c9b4d547cdf69947d6 (patch)
tree9def8ccc732a666ba75c8b48997e37b84d8a5503 /tcg/arm/tcg-target.c.inc
parent722460652b3aee89dc19df61f1f33df53a9b97c9 (diff)
downloadfocaccia-qemu-9358fbbf6e478e0d734756c9b4d547cdf69947d6.tar.gz
focaccia-qemu-9358fbbf6e478e0d734756c9b4d547cdf69947d6.zip
tcg: Add tcg_out_tb_start backend hook
This hook may emit code at the beginning of the TB.

Suggested-by: Jordan Niethe <jniethe5@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/arm/tcg-target.c.inc')
-rw-r--r--tcg/arm/tcg-target.c.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/tcg/arm/tcg-target.c.inc b/tcg/arm/tcg-target.c.inc
index 76f1345002..b1d56362a7 100644
--- a/tcg/arm/tcg-target.c.inc
+++ b/tcg/arm/tcg-target.c.inc
@@ -2962,6 +2962,11 @@ static void tcg_out_epilogue(TCGContext *s)
                   (1 << TCG_REG_R10) | (1 << TCG_REG_R11) | (1 << TCG_REG_PC));
 }
 
+static void tcg_out_tb_start(TCGContext *s)
+{
+    /* nothing to do */
+}
+
 typedef struct {
     DebugFrameHeader h;
     uint8_t fde_def_cfa[4];