diff options
author | Richard Biener <rguenther@suse.de> | 2015-08-12 07:42:31 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2015-08-12 07:42:31 +0000 |
commit | bde351d539b33d5723a60835cf4b663afdcd821d (patch) | |
tree | fd22296b386f2d75e390a2b202de287caaa900c6 /gcc/gimple.c | |
parent | d27139850b789dbfc7c9c5604432c5d16114528d (diff) | |
download | gcc-bde351d539b33d5723a60835cf4b663afdcd821d.zip gcc-bde351d539b33d5723a60835cf4b663afdcd821d.tar.gz gcc-bde351d539b33d5723a60835cf4b663afdcd821d.tar.bz2 |
gimple.h (remove_pointer): New trait.
2015-08-12 Richard Biener <rguenther@suse.de>
* gimple.h (remove_pointer): New trait.
(GIMPLE_CHECK2): New inline template function.
(gassign::code_): New constant static member.
(is_a_helper<const gassign *>): Add.
(gimple_assign_lhs): Use GIMPLE_CHECK2 in the gimple overload
and forward to a new gassign overload with less checking and a
cheaper way to access the operand.
(gimple_assign_lhs_ptr): Likewise.
(gimple_assign_set_lhs): Likewise.
(gimple_assign_rhs1, gimple_assign_rhs1_ptr, gimple_assign_set_rhs1):
Likewise.
(gimple_assign_rhs2, gimple_assign_rhs2_ptr, gimple_assign_set_rhs2):
Likewise.
(gimple_assign_rhs3, gimple_assign_rhs3_ptr, gimple_assign_set_rhs3):
Likewise.
(gimple_assign_rhs_code): Likewise.
* gimple.c (gassign::code_): Define.
From-SVN: r226802
Diffstat (limited to 'gcc/gimple.c')
-rw-r--r-- | gcc/gimple.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/gimple.c b/gcc/gimple.c index e31a273..e4866ac 100644 --- a/gcc/gimple.c +++ b/gcc/gimple.c @@ -89,6 +89,10 @@ static const char * const gimple_alloc_kind_names[] = { "everything else" }; +/* Static gimple tuple members. */ +const enum gimple_code gassign::code_; + + /* Gimple tuple constructors. Note: Any constructor taking a ``gimple_seq'' as a parameter, can be passed a NULL to start with an empty sequence. */ |