From edc6a4c003508a010d56b4fc92e78e176b2eaa9c Mon Sep 17 00:00:00 2001 From: hubicka Date: Thu, 19 May 2005 10:38:42 +0000 Subject: * basic-block.h (REG_BR_PROB_BASE): Define. * cgraph.c (cgraph_create_edge): Initialize loop_nest and count. (dump_cgraph_node): Dump count. (cgraph_clone_edge): Rescale counts. (cgraph_clone_node): Likewise. * cgraph.h: Include basic-block.h (cgraph_node): Add count. (cgraph_edge): Add count and loop_nest. (cgraph_node, cgraph_edge, cgraph_clone_edge, cgraph_clone_node): Update prototypes. * cgraphunit.c: Kill now redundant inlining comment. (cgraph_create_edges): Make static, maintain current basic block; fix pasto. (record_call_1): Fill in new fields. * ipa-inline.c (cgraph_clone_inlined_nodes): Update call of cgraph_clone_node. (cgraph_decide_recursive_inlining): Likewise. * rtl.h (REG_BR_PROB_BASE): Kill. * tree-inline.c (copy_body_r): Update call of cgraph_clone_edge. (expand_call_inline): Update call of cgraph_create_edge. * tree-optimize.c (tree_rest_of_compilation): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99976 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/rtl.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'gcc/rtl.h') diff --git a/gcc/rtl.h b/gcc/rtl.h index c162393a74e..2eb5d9c84b8 100644 --- a/gcc/rtl.h +++ b/gcc/rtl.h @@ -706,9 +706,6 @@ enum reg_note REG_NOTE_MAX }; -/* The base value for branch probability notes. */ -#define REG_BR_PROB_BASE 10000 - /* Define macros to extract and insert the reg-note kind in an EXPR_LIST. */ #define REG_NOTE_KIND(LINK) ((enum reg_note) GET_MODE (LINK)) #define PUT_REG_NOTE_KIND(LINK, KIND) \ -- cgit v1.2.1