aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple.c
diff options
context:
space:
mode:
authorIlya Enkovich <ilya.enkovich@intel.com>2013-11-18 12:30:52 +0000
committerKirill Yukhin <kyukhin@gcc.gnu.org>2013-11-18 12:30:52 +0000
commit01156003a987af28c1432f247471b2192566612a (patch)
treec33b65ba49a84fb08a5cd31eafd59e6001a95d59 /gcc/gimple.c
parentfec39fa6b010bb0a37c93412e8f147668c558f98 (diff)
downloadgcc-01156003a987af28c1432f247471b2192566612a.zip
gcc-01156003a987af28c1432f247471b2192566612a.tar.gz
gcc-01156003a987af28c1432f247471b2192566612a.tar.bz2
builtin-types.def (BT_FN_PTR_CONST_PTR_VAR): New.
* builtin-types.def (BT_FN_PTR_CONST_PTR_VAR): New. * chkp-builtins.def (BUILT_IN_CHKP_BIND_BOUNDS): New. * cfgexpand.c (expand_call_stmt): Expand BUILT_IN_CHKP_BIND_BOUNDS. * gimple.c (gimple_call_get_nobnd_arg_index): Remove. * gimple.h (gf_mask): Add GF_CALL_WITH_BOUNDS. (gimple_call_with_bounds_p): New. (gimple_call_set_with_bounds): New. (gimple_call_num_nobnd_args): Remove. (gimple_call_nobnd_arg): Remove. * tree.h (CALL_WITH_BOUNDS_P): New. * rtl.h (CALL_EXPR_WITH_BOUNDS_P): New. From-SVN: r204947
Diffstat (limited to 'gcc/gimple.c')
-rw-r--r--gcc/gimple.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/gcc/gimple.c b/gcc/gimple.c
index f42d921..2d64261 100644
--- a/gcc/gimple.c
+++ b/gcc/gimple.c
@@ -365,26 +365,6 @@ gimple_build_call_from_tree (tree t)
}
-/* Return index of INDEX's non bound argument of the call. */
-
-unsigned
-gimple_call_get_nobnd_arg_index (const_gimple gs, unsigned index)
-{
- unsigned num_args = gimple_call_num_args (gs);
- for (unsigned n = 0; n < num_args; n++)
- {
- if (POINTER_BOUNDS_P (gimple_call_arg (gs, n)))
- continue;
- else if (index)
- index--;
- else
- return n;
- }
-
- gcc_unreachable ();
-}
-
-
/* Build a GIMPLE_ASSIGN statement.
LHS of the assignment.