aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2010-12-01 17:45:36 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2010-12-01 16:45:36 +0000
commitb01890ffd36bdd210e37b212b86eb3548ab325b6 (patch)
tree1a9bb0dbdc363905b0b9554093c37fa22dc1183a /gcc/tree.c
parent0df226a41f324eb82b72efd37298f83aed7dff97 (diff)
downloadgcc-b01890ffd36bdd210e37b212b86eb3548ab325b6.zip
gcc-b01890ffd36bdd210e37b212b86eb3548ab325b6.tar.gz
gcc-b01890ffd36bdd210e37b212b86eb3548ab325b6.tar.bz2
tree.c (build_common_builtin_nodes): Do not initialize BUILT_IN_PROFILE_FUNC_ENTER and BUILT_IN_PROFILE_FUNC_EXIT.
* tree.c (build_common_builtin_nodes): Do not initialize BUILT_IN_PROFILE_FUNC_ENTER and BUILT_IN_PROFILE_FUNC_EXIT. * builtins.c (expand_builtin_profile_func): Remove. (expand_builtin): Do not handle BUILT_IN_PROFILE_FUNC_ENTER and BUILT_IN_PROFILE_FUNC_EXIT. * builtins.def (profile_func_enter, profile_func_exit): Remove stubs. (__cyg_profile_func_enter, __cyg_profile_func_exit): New. * gimplify.c (gimplify_function_tree): Reorganize code calling profiling functions. From-SVN: r167342
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 88666d3..3a41244 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -9324,12 +9324,6 @@ build_common_builtin_nodes (void)
BUILT_IN_STACK_RESTORE,
"__builtin_stack_restore", ECF_NOTHROW | ECF_LEAF);
- ftype = build_function_type_list (void_type_node, NULL_TREE);
- local_define_builtin ("__builtin_profile_func_enter", ftype,
- BUILT_IN_PROFILE_FUNC_ENTER, "profile_func_enter", 0);
- local_define_builtin ("__builtin_profile_func_exit", ftype,
- BUILT_IN_PROFILE_FUNC_EXIT, "profile_func_exit", 0);
-
/* If there's a possibility that we might use the ARM EABI, build the
alternate __cxa_end_cleanup node used to resume from C++ and Java. */
if (targetm.arm_eabi_unwinder)