diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2015-06-26 23:30:37 +0000 |
---|---|---|
committer | Andrew Macleod <amacleod@gcc.gnu.org> | 2015-06-26 23:30:37 +0000 |
commit | 5fa9163d3fff5a66711fae4c54b09ed6b4cb226d (patch) | |
tree | ec7611dea9fc71a5129b3fb7622d00420a1d8f30 /gcc/gimple.c | |
parent | 315219515d9dd4bea8c44b9abf8ede57c0919fad (diff) | |
download | gcc-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.c | 10 |
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 |