+2015-06-25 Andrew MacLeod <amacleod@redhat.com>
+
+ * gimple.h (gimple_call_set_fn): Move inline function.
+ * gimple.c (gimple_call_set_fn): Relocate here.
+
2015-06-25 Oleg Endo <olegendo@gcc.gnu.org>
PR target/65979
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
#define gimple_alloc(c, n) gimple_alloc_stat (c, n MEM_STAT_INFO)
gimple gimple_alloc_stat (enum gimple_code, unsigned MEM_STAT_DECL);
greturn *gimple_build_return (tree);
+void gimple_call_set_fndecl (gimple, tree);
void gimple_call_reset_alias_info (gcall *);
gcall *gimple_build_call_vec (tree, vec<tree> );
gcall *gimple_build_call (tree, unsigned, ...);
}
-/* Set FNDECL to be the function called by call statement GS. */
-
-static inline 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));
-}
-
-
/* Set internal function FN to be the function called by call statement CALL_STMT. */
static inline void