aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2015-08-13 06:59:25 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2015-08-13 06:59:25 +0000
commit003b40ae57ba5c1acb06752936536298e029c189 (patch)
tree6025528cd24e8489935090edf995acae8c4d6f89 /gcc/gimple.c
parent95765f369f6f6ee15399d352593cb6912a024d28 (diff)
downloadgcc-003b40ae57ba5c1acb06752936536298e029c189.zip
gcc-003b40ae57ba5c1acb06752936536298e029c189.tar.gz
gcc-003b40ae57ba5c1acb06752936536298e029c189.tar.bz2
gimple.h (gcall::code_): New constant static member.
2015-08-13 Richard Biener <rguenther@suse.de> * gimple.h (gcall::code_): New constant static member. (gcond::code_): Likewise. * gimple.c (gcall::code_): Define. (gcond::code_): Likewise. (is_a_helper <const gcond *>): Add. (gimple_call_lhs): Use GIMPLE_CHECK2 in the gimple overload and forward to a new gcall overload with less checking and a cheaper way to access the operand. (gimple_call_lhs_ptr): Likewise. (gimple_call_set_lhs): Likewise. (gimple_call_internal_p): Likewise. (gimple_call_with_bounds_p): Likewise. (gimple_call_set_with_bounds): Likewise. (gimple_call_internal_fn): Likewise. (gimple_call_set_ctrl_altering): Likewise. (gimple_call_ctrl_altering_p): Likewise. (gimple_call_fntype): Likewise. (gimple_call_fn): Likewise. (gimple_call_fn_ptr): Likewise. (gimple_call_set_fndecl): Likewise. (gimple_call_fndecl): Likewise. (gimple_call_chain): Likewise. (gimple_call_num_args): Likewise. (gimple_call_arg): Likewise. (gimple_call_arg_ptr): Likewise. (gimple_call_set_arg): Likewise. (gimple_call_noreturn_p): Likewise. (gimple_cond_code): Likewise. (gimple_cond_lhs): Likewise. (gimple_cond_rhs): Likewise. (gimple_has_lhs): Reduce checking. From-SVN: r226849
Diffstat (limited to 'gcc/gimple.c')
-rw-r--r--gcc/gimple.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/gimple.c b/gcc/gimple.c
index e4866ac..cca328a 100644
--- a/gcc/gimple.c
+++ b/gcc/gimple.c
@@ -91,6 +91,8 @@ static const char * const gimple_alloc_kind_names[] = {
/* Static gimple tuple members. */
const enum gimple_code gassign::code_;
+const enum gimple_code gcall::code_;
+const enum gimple_code gcond::code_;
/* Gimple tuple constructors.