aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tcg/tci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tcg/tci.c b/tcg/tci.c
index 2311aa7..3fc82d3 100644
--- a/tcg/tci.c
+++ b/tcg/tci.c
@@ -128,11 +128,13 @@ static void tci_write_reg8(tcg_target_ulong *regs, TCGReg index, uint8_t value)
tci_write_reg(regs, index, value);
}
+#if TCG_TARGET_REG_BITS == 64
static void
tci_write_reg16(tcg_target_ulong *regs, TCGReg index, uint16_t value)
{
tci_write_reg(regs, index, value);
}
+#endif
static void
tci_write_reg32(tcg_target_ulong *regs, TCGReg index, uint32_t value)