aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple.c
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2015-06-26 23:30:37 +0000
committerAndrew Macleod <amacleod@gcc.gnu.org>2015-06-26 23:30:37 +0000
commit5fa9163d3fff5a66711fae4c54b09ed6b4cb226d (patch)
treeec7611dea9fc71a5129b3fb7622d00420a1d8f30 /gcc/gimple.c
parent315219515d9dd4bea8c44b9abf8ede57c0919fad (diff)
downloadgcc-5fa9163d3fff5a66711fae4c54b09ed6b4cb226d.zip
gcc-5fa9163d3fff5a66711fae4c54b09ed6b4cb226d.tar.gz
gcc-5fa9163d3fff5a66711fae4c54b09ed6b4cb226d.tar.bz2
gimple.c (gimple_call_set_fndecl): Remove.
2015-06-26 Andrew MacLeod <amacleod@redhat.com> * gimple.c (gimple_call_set_fndecl): Remove. * gimple.h (gimple_call_set_fndecl): Relocate to gimple.h and call build1_loc directly instead of build_fold_addr_expr_loc. From-SVN: r225090
Diffstat (limited to 'gcc/gimple.c')
-rw-r--r--gcc/gimple.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/gcc/gimple.c b/gcc/gimple.c
index bd788be..b32c6b5 100644
--- a/gcc/gimple.c
+++ b/gcc/gimple.c
@@ -199,16 +199,6 @@ gimple_build_return (tree retval)
return s;
}
-/* Set FNDECL to be the function called by call statement GS. */
-
-void
-gimple_call_set_fndecl (gimple gs, tree decl)
-{
- GIMPLE_CHECK (gs, GIMPLE_CALL);
- gcc_gimple_checking_assert (!gimple_call_internal_p (gs));
- gimple_set_op (gs, 1, build_fold_addr_expr_loc (gimple_location (gs), decl));
-}
-
/* Reset alias information on call S. */
void