Change maybe_eh_return to bool.
authorH.J. Lu <hongjiu.lu@intel.com>
Thu, 12 May 2011 21:36:48 +0000 (21:36 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Thu, 12 May 2011 21:36:48 +0000 (14:36 -0700)
2011-05-12  H.J. Lu  <hongjiu.lu@intel.com>

* config/i386/i386.c (ix86_save_reg): Change maybe_eh_return
to bool.
(ix86_emit_restore_regs_using_mov): Likewise.
(ix86_emit_restore_sse_regs_using_mov): Likewise.

From-SVN: r173716

gcc/ChangeLog
gcc/config/i386/i386.c

index 5a59de8c387b7be5831df43623a7ae034cd5d886..7deacdcac91972605a762a98d7f428f9a0b573b5 100644 (file)
@@ -1,3 +1,10 @@
+2011-05-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/i386/i386.c (ix86_save_reg): Change maybe_eh_return
+       to bool.
+       (ix86_emit_restore_regs_using_mov): Likewise.
+       (ix86_emit_restore_sse_regs_using_mov): Likewise.
+
 2011-05-12  Anatoly Sokolov  <aesok@post.ru>
 
        * config/sparc/sparc.h (REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P,
index 1cf8933e4dfeef0f5b8a36e16f176e55253c588f..357e57c3c78bc9bdc6eb71abf5f640ddebd590ea 100644 (file)
@@ -9066,7 +9066,7 @@ ix86_select_alt_pic_regnum (void)
 
 /* Return 1 if we need to save REGNO.  */
 static int
-ix86_save_reg (unsigned int regno, int maybe_eh_return)
+ix86_save_reg (unsigned int regno, bool maybe_eh_return)
 {
   if (pic_offset_table_rtx
       && regno == REAL_PIC_OFFSET_TABLE_REGNUM
@@ -10898,7 +10898,7 @@ ix86_emit_leave (void)
    First register is restored from CFA - CFA_OFFSET.  */
 static void
 ix86_emit_restore_regs_using_mov (HOST_WIDE_INT cfa_offset,
-                                 int maybe_eh_return)
+                                 bool maybe_eh_return)
 {
   struct machine_function *m = cfun->machine;
   unsigned int regno;
@@ -10937,7 +10937,7 @@ ix86_emit_restore_regs_using_mov (HOST_WIDE_INT cfa_offset,
    First register is restored from CFA - CFA_OFFSET.  */
 static void
 ix86_emit_restore_sse_regs_using_mov (HOST_WIDE_INT cfa_offset,
-                                     int maybe_eh_return)
+                                     bool maybe_eh_return)
 {
   unsigned int regno;