diff mbox

Pasto in is_old_name: s/new_ssa_names/old_ssa_names/g

Message ID alpine.DEB.2.02.1410171026570.3216@stedding.saclay.inria.fr
State New
Headers show

Commit Message

Marc Glisse Oct. 17, 2014, 8:30 a.m. UTC
Hello,

this trivial fix was pre-approved by Richard, I regtested and committed 
it.

2014-10-17  Marc Glisse  <marc.glisse@inria.fr>

 	* tree-into-ssa.c (is_old_name): Replace "new" with "old".
diff mbox

Patch

--- tree-into-ssa.c	(revision 216366)
+++ tree-into-ssa.c	(working copy)
@@ -572,23 +572,23 @@  set_livein_block (tree var, basic_block
      info->need_phi_state = NEED_PHI_STATE_MAYBE;
  }


  /* Return true if NAME is in OLD_SSA_NAMES.  */

  static inline bool
  is_old_name (tree name)
  {
    unsigned ver = SSA_NAME_VERSION (name);
-  if (!new_ssa_names)
+  if (!old_ssa_names)
      return false;
-  return (ver < SBITMAP_SIZE (new_ssa_names)
+  return (ver < SBITMAP_SIZE (old_ssa_names)
  	  && bitmap_bit_p (old_ssa_names, ver));
  }


  /* Return true if NAME is in NEW_SSA_NAMES.  */

  static inline bool
  is_new_name (tree name)
  {
    unsigned ver = SSA_NAME_VERSION (name);