Commit ac957f13 by Jeffrey A Law Committed by Jeff Law

* Partially cleaned up prototyping code from HJ.

        * haifa-sched.c (haifa_classify_insn): Renamed from classify_insn.
        All references changed.
        * rtl.h: Protect from multiple inclusions.  Add many prototypes.

        * libgcc2.c (string.h): Hoist inclusion to occur before first use of
        string functions like strlen.
More pending patches.

From-SVN: r17024
parent 0a232106
Tue Dec 9 01:16:06 1997 Jeffrey A Law (law@cygnus.com)
* Partially cleaned up prototyping code from HJ.
* haifa-sched.c (haifa_classify_insn): Renamed from classify_insn.
All references changed.
* rtl.h: Protect from multiple inclusions. Add many prototypes.
Tue Dec 9 01:15:15 199 Fred Fish <fnf@ninemoons.com>7
* libgcc2.c (string.h): Hoist inclusion to occur before first use of
string functions like strlen.
Tue Dec 9 00:57:38 1997 Manfred Hollstein <manfred@s-direktnet.de>
* configure.in: Check for functions getrlimit and setrlimit.
......
......@@ -714,7 +714,7 @@ static int is_pfree PROTO ((rtx, int, int));
static int find_conditional_protection PROTO ((rtx, int));
static int is_conditionally_protected PROTO ((rtx, int, int));
static int may_trap_exp PROTO ((rtx, int));
static int classify_insn PROTO ((rtx));
static int haifa_classify_insn PROTO ((rtx));
static int is_exception_free PROTO ((rtx, int, int));
static char find_insn_mem_list PROTO ((rtx, rtx, rtx, rtx));
......@@ -2558,7 +2558,7 @@ is_pfree (load_insn, bb_src, bb_trg)
if (GET_MODE (fore_link) == VOIDmode)
{
/* found a DEF-USE dependence (insn1, insn2) */
if (classify_insn (insn2) != PFREE_CANDIDATE)
if (haifa_classify_insn (insn2) != PFREE_CANDIDATE)
/* insn2 not guaranteed to be a 1 base reg load */
continue;
......@@ -2659,7 +2659,7 @@ may_trap_exp (x, is_store)
being either PFREE or PRISKY. */
static int
classify_insn (insn)
haifa_classify_insn (insn)
rtx insn;
{
rtx pat = PATTERN (insn);
......@@ -2721,7 +2721,7 @@ classify_insn (insn)
return insn_class;
} /* classify_insn */
} /* haifa_classify_insn */
/* Return 1 if load_insn is prisky (i.e. if load_insn is fed by
a load moved speculatively, or if load_insn is protected by
......@@ -2754,7 +2754,7 @@ is_exception_free (insn, bb_src, bb_trg)
rtx insn;
int bb_src, bb_trg;
{
int insn_class = classify_insn (insn);
int insn_class = haifa_classify_insn (insn);
/* handle non-load insns */
switch (insn_class)
......
......@@ -1446,6 +1446,7 @@ char *ctime ();
#include "gbl-ctors.h"
#include "gcov-io.h"
#include <string.h>
static struct bb *bb_head;
......@@ -1723,8 +1724,6 @@ __bb_init_func (struct bb *blocks)
#define MACHINE_STATE_RESTORE(ID)
#endif
#include <string.h>
/* Number of buckets in hashtable of basic block addresses. */
#define BB_BUCKETS 311
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment