mirror of git://gcc.gnu.org/git/gcc.git
predict.c (PRED_MUDFLAP): Remove.
* predict.c (PRED_MUDFLAP): Remove. * targhooks.c (build_va_arg_indirect_ref): Remove mudflap support. From-SVN: r204091
This commit is contained in:
parent
98906124e3
commit
5d905bb613
|
|
@ -1,5 +1,8 @@
|
||||||
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)
|
||||||
/* 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
|
||||||
#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
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue