aboutsummaryrefslogtreecommitdiff
path: root/gcc/except.c
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2017-06-30 00:38:30 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2017-06-29 22:38:30 +0000
commit84a1b7fe0234b8eddb813a9af8a73a98acad403d (patch)
tree3c1fd2a362a4fdd1bfc26d9d209a58a28b2b1a40 /gcc/except.c
parent8e09cb8b390102c09039c3c31ab1c0df4114e3da (diff)
downloadgcc-84a1b7fe0234b8eddb813a9af8a73a98acad403d.zip
gcc-84a1b7fe0234b8eddb813a9af8a73a98acad403d.tar.gz
gcc-84a1b7fe0234b8eddb813a9af8a73a98acad403d.tar.bz2
arm-builtins.c: Include profile-count.h
* arm/arm-builtins.c: Include profile-count.h * except.c (sjlj_emit_function_enter): Use profile_probability::unlikely. From-SVN: r249821
Diffstat (limited to 'gcc/except.c')
-rw-r--r--gcc/except.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/except.c b/gcc/except.c
index 4ec2f82..5709bdb 100644
--- a/gcc/except.c
+++ b/gcc/except.c
@@ -1180,7 +1180,8 @@ sjlj_emit_function_enter (rtx_code_label *dispatch_label)
emit_cmp_and_jump_insns (x, const0_rtx, NE, 0,
TYPE_MODE (integer_type_node), 0,
- dispatch_label, REG_BR_PROB_BASE / 100);
+ dispatch_label,
+ profile_probability::unlikely ());
#else
expand_builtin_setjmp_setup (addr, dispatch_label);
#endif