summaryrefslogtreecommitdiff
path: root/gcc/gimple.c
diff options
context:
space:
mode:
authorkyukhin <kyukhin@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-18 12:30:52 +0000
committerkyukhin <kyukhin@138bc75d-0d04-0410-961f-82ee72b054a4>2013-11-18 12:30:52 +0000
commit0fcb889cab55c4efaed1e7ec8021cb55ff5f0fb4 (patch)
treec33b65ba49a84fb08a5cd31eafd59e6001a95d59 /gcc/gimple.c
parentf1c8b4d7a477f2734ba9fb637d62ad19758dac1a (diff)
downloadgcc-0fcb889cab55c4efaed1e7ec8021cb55ff5f0fb4.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204947 138bc75d-0d04-0410-961f-82ee72b054a4
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 f42d921fa0f..2d642616ae3 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.