OSDN Git Service

[gcc/objc/ChangeLog]
[pf3gnuchains/gcc-fork.git] / gcc / mode-switching.c
index 57eb1d2..62e7112 100644 (file)
@@ -16,8 +16,8 @@ for more details.
 
 You should have received a copy of the GNU General Public License
 along with GCC; see the file COPYING.  If not, write to the Free
-Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA.  */
+Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
+02110-1301, USA.  */
 
 #include "config.h"
 #include "system.h"
@@ -219,7 +219,7 @@ create_pre_exit (int n_entities, int *entity_map, const int *num_modes)
     if (eg->flags & EDGE_FALLTHRU)
       {
        basic_block src_bb = eg->src;
-       regset live_at_end = src_bb->global_live_at_end;
+       regset live_at_end = src_bb->il.rtl->global_live_at_end;
        rtx last_insn, ret_reg;
 
        gcc_assert (!pre_exit);
@@ -368,8 +368,8 @@ create_pre_exit (int n_entities, int *entity_map, const int *num_modes)
        else
          {
            pre_exit = split_edge (eg);
-           COPY_REG_SET (pre_exit->global_live_at_start, live_at_end);
-           COPY_REG_SET (pre_exit->global_live_at_end, live_at_end);
+           COPY_REG_SET (pre_exit->il.rtl->global_live_at_start, live_at_end);
+           COPY_REG_SET (pre_exit->il.rtl->global_live_at_end, live_at_end);
          }
       }
 
@@ -453,7 +453,7 @@ optimize_mode_switching (FILE *file)
          HARD_REG_SET live_now;
 
          REG_SET_TO_HARD_REG_SET (live_now,
-                                  bb->global_live_at_start);
+                                  bb->il.rtl->global_live_at_start);
          for (insn = BB_HEAD (bb);
               insn != NULL && insn != NEXT_INSN (BB_END (bb));
               insn = NEXT_INSN (insn))
@@ -549,7 +549,7 @@ optimize_mode_switching (FILE *file)
 
       FOR_EACH_BB (bb)
        sbitmap_not (kill[bb->index], transp[bb->index]);
-      edge_list = pre_edge_lcm (file, 1, transp, comp, antic,
+      edge_list = pre_edge_lcm (file, n_entities, transp, comp, antic,
                                kill, &insert, &delete);
 
       for (j = n_entities - 1; j >= 0; j--)
@@ -583,7 +583,7 @@ optimize_mode_switching (FILE *file)
              src_bb = eg->src;
 
              REG_SET_TO_HARD_REG_SET (live_at_edge,
-                                      src_bb->global_live_at_end);
+                                      src_bb->il.rtl->global_live_at_end);
 
              start_sequence ();
              EMIT_MODE_SET (entity_map[j], mode, live_at_edge);