qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 07/22] tcg/i386: constify tcg_target_callee_save


From: Philippe Mathieu-Daudé
Subject: Re: [Qemu-devel] [PATCH 07/22] tcg/i386: constify tcg_target_callee_save_regs
Date: Wed, 12 Jul 2017 14:00:52 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

On 07/09/2017 04:49 AM, Emilio G. Cota wrote:
Signed-off-by: Emilio G. Cota <address@hidden>

Reviewed-by: Philippe Mathieu-Daudé <address@hidden>

---
  tcg/i386/tcg-target.inc.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tcg/i386/tcg-target.inc.c b/tcg/i386/tcg-target.inc.c
index 01e3b4e..06df01a 100644
--- a/tcg/i386/tcg-target.inc.c
+++ b/tcg/i386/tcg-target.inc.c
@@ -2514,7 +2514,7 @@ static const TCGTargetOpDef *tcg_target_op_def(TCGOpcode 
op)
      return NULL;
  }
-static int tcg_target_callee_save_regs[] = {
+static const int tcg_target_callee_save_regs[] = {
  #if TCG_TARGET_REG_BITS == 64
      TCG_REG_RBP,
      TCG_REG_RBX,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]