Revert accidental commit.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Jun 2009 14:57:54 +0000 (14:57 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Jun 2009 14:57:54 +0000 (14:57 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149102 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/tree-cfg.c

index 049dd1d..4c7c0db 100644 (file)
@@ -5131,17 +5131,8 @@ gimple_move_block_after (basic_block bb, basic_block after)
 /* Return true if basic_block can be duplicated.  */
 
 static bool
-gimple_can_duplicate_bb_p (const_basic_block bb)
+gimple_can_duplicate_bb_p (const_basic_block bb ATTRIBUTE_UNUSED)
 {
-  gimple_stmt_iterator gsi = gsi_last_bb (bb);
-
-  /* RTL expander has quite artificial limitation to at most one RESX instruction
-     per region.  It can be fixed by turning 1-1 map to 1-many map, but since the
-     code needs to be rewritten to gimple level lowering and there is little reason
-     for duplicating RESX instructions in order to optimize code performance, we
-     just disallow it for the moment.  */
-  if (!gsi_end_p (gsi) && gimple_code (gsi_stmt (gsi)) == GIMPLE_RESX)
-    return false;
   return true;
 }