summaryrefslogtreecommitdiff
path: root/gcc/gcse.c
diff options
context:
space:
mode:
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-03 19:58:40 +0000
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-03 19:58:40 +0000
commit500c0c93ed630557b2462f87ae3662ee87e0d37c (patch)
tree3d686174201329a100ae99ae55e9028cf9b316c6 /gcc/gcse.c
parent325d776d57cef6fdd6265a9b9b7424ad57f7c279 (diff)
downloadgcc-500c0c93ed630557b2462f87ae3662ee87e0d37c.tar.gz
Fix messed up accidental commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75368 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r--gcc/gcse.c16
1 files changed, 5 insertions, 11 deletions
diff --git a/gcc/gcse.c b/gcc/gcse.c
index cf845af0da7..798437649ce 100644
--- a/gcc/gcse.c
+++ b/gcc/gcse.c
@@ -161,7 +161,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "basic-block.h"
#include "output.h"
#include "function.h"
-#include "langhooks.h"
#include "expr.h"
#include "except.h"
#include "ggc.h"
@@ -856,8 +855,7 @@ gcse_main (rtx f, FILE *file)
if (file)
{
fprintf (file, "GCSE of %s: %d basic blocks, ",
- (*lang_hooks.decl_printable_name) (current_function_decl, 2),
- n_basic_blocks);
+ current_function_name, n_basic_blocks);
fprintf (file, "%d pass%s, %d bytes\n\n",
pass, pass > 1 ? "es" : "", max_pass_bytes);
}
@@ -3616,8 +3614,7 @@ one_classic_gcse_pass (int pass)
{
fprintf (gcse_file, "\n");
fprintf (gcse_file, "GCSE of %s, pass %d: %d bytes needed, %d substs,",
- (*lang_hooks.decl_printable_name) (current_function_decl, 2),
- pass, bytes_used, gcse_subst_count);
+ current_function_name, pass, bytes_used, gcse_subst_count);
fprintf (gcse_file, "%d insns created\n", gcse_create_count);
}
@@ -4689,8 +4686,7 @@ one_cprop_pass (int pass, int cprop_jumps, int bypass_jumps)
if (gcse_file)
{
fprintf (gcse_file, "CPROP of %s, pass %d: %d bytes needed, ",
- (*lang_hooks.decl_printable_name) (current_function_decl, 2),
- pass, bytes_used);
+ current_function_name, pass, bytes_used);
fprintf (gcse_file, "%d const props, %d copy props\n\n",
const_prop_count, copy_prop_count);
}
@@ -5792,8 +5788,7 @@ one_pre_gcse_pass (int pass)
if (gcse_file)
{
fprintf (gcse_file, "\nPRE GCSE of %s, pass %d: %d bytes needed, ",
- (*lang_hooks.decl_printable_name) (current_function_decl, 2),
- pass, bytes_used);
+ current_function_name, pass, bytes_used);
fprintf (gcse_file, "%d substs, %d insns created\n",
gcse_subst_count, gcse_create_count);
}
@@ -8022,8 +8017,7 @@ bypass_jumps (FILE *file)
if (file)
{
fprintf (file, "BYPASS of %s: %d basic blocks, ",
- (*lang_hooks.decl_printable_name) (current_function_decl, 2),
- n_basic_blocks);
+ current_function_name, n_basic_blocks);
fprintf (file, "%d bytes\n\n", bytes_used);
}