gcc/ * gimple.h (gimple_call_use_set): Require a gimple_call. (gimple_call_clobber_set): Likewise. --- gcc/gimple.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/gcc/gimple.h b/gcc/gimple.h index 3c54119..e4aeec6 100644 --- a/gcc/gimple.h +++ b/gcc/gimple.h @@ -3236,23 +3236,21 @@ gimple_call_copy_flags (gimple dest_call, gimple orig_call) /* Return a pointer to the points-to solution for the set of call-used - variables of the call CALL. */ + variables of the call CALL_STMT. */ static inline struct pt_solution * -gimple_call_use_set (gimple call) +gimple_call_use_set (gimple_call call_stmt) { - gimple_statement_call *call_stmt = as_a <gimple_statement_call> (call); return &call_stmt->call_used; } /* Return a pointer to the points-to solution for the set of call-used - variables of the call CALL. */ + variables of the call CALL_STMT. */ static inline struct pt_solution * -gimple_call_clobber_set (gimple call) +gimple_call_clobber_set (gimple_call call_stmt) { - gimple_statement_call *call_stmt = as_a <gimple_statement_call> (call); return &call_stmt->call_clobbered; } -- 1.8.5.3