Commit 5d905bb6 by Jeff Law Committed by Jeff Law

predict.c (PRED_MUDFLAP): Remove.

	* predict.c (PRED_MUDFLAP): Remove.
	* targhooks.c (build_va_arg_indirect_ref): Remove mudflap support.

From-SVN: r204091
parent 98906124
2013-10-26 Jeff Law <law@redhat.com> 2013-10-26 Jeff Law <law@redhat.com>
* predict.c (PRED_MUDFLAP): Remove.
* targhooks.c (build_va_arg_indirect_ref): Remove mudflap support.
* Makefile.in (C_COMMON_OBJS): Remove tree-mudflap. * Makefile.in (C_COMMON_OBJS): Remove tree-mudflap.
(OBJS): Remove tree-nomudflap.o (OBJS): Remove tree-nomudflap.o
(GTFILES): Remove tree-mudflap.c (GTFILES): Remove tree-mudflap.c
...@@ -117,9 +117,6 @@ DEF_PREDICTOR (PRED_NEGATIVE_RETURN, "negative return", HITRATE (96), 0) ...@@ -117,9 +117,6 @@ DEF_PREDICTOR (PRED_NEGATIVE_RETURN, "negative return", HITRATE (96), 0)
/* Branch ending with return; is probably not taken */ /* Branch ending with return; is probably not taken */
DEF_PREDICTOR (PRED_NULL_RETURN, "null return", HITRATE (90), 0) DEF_PREDICTOR (PRED_NULL_RETURN, "null return", HITRATE (90), 0)
/* Branches to a mudflap bounds check are extremely unlikely. */
DEF_PREDICTOR (PRED_MUDFLAP, "mudflap check", PROB_VERY_LIKELY, 0)
/* Branches to compare induction variable to a loop bound is /* Branches to compare induction variable to a loop bound is
extremely likely. */ extremely likely. */
DEF_PREDICTOR (PRED_LOOP_IV_COMPARE_GUESS, "guess loop iv compare", DEF_PREDICTOR (PRED_LOOP_IV_COMPARE_GUESS, "guess loop iv compare",
......
...@@ -72,7 +72,6 @@ along with GCC; see the file COPYING3. If not see ...@@ -72,7 +72,6 @@ along with GCC; see the file COPYING3. If not see
#include "tree-ssanames.h" #include "tree-ssanames.h"
#include "tree-ssa-alias.h" #include "tree-ssa-alias.h"
#include "insn-codes.h" #include "insn-codes.h"
#include "tree-mudflap.h"
bool bool
...@@ -1576,10 +1575,6 @@ tree ...@@ -1576,10 +1575,6 @@ tree
build_va_arg_indirect_ref (tree addr) build_va_arg_indirect_ref (tree addr)
{ {
addr = build_simple_mem_ref_loc (EXPR_LOCATION (addr), addr); addr = build_simple_mem_ref_loc (EXPR_LOCATION (addr), addr);
if (flag_mudflap) /* Don't instrument va_arg INDIRECT_REF. */
mf_mark (addr);
return addr; return addr;
} }
......
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