diff options
author | Diego Novillo <dnovillo@google.com> | 2007-11-06 22:00:22 -0500 |
---|---|---|
committer | Diego Novillo <dnovillo@gcc.gnu.org> | 2007-11-06 22:00:22 -0500 |
commit | 28f6b1e4e2ecc17ff07c789a5a39d0fd8ce45766 (patch) | |
tree | a5f5f8a3d7fa800583b70a8716f7a8b0928b4e74 /gcc/tree-flow.h | |
parent | 31de5c748de62335e990e67c9f0cf6d73e7d410d (diff) | |
download | gcc-28f6b1e4e2ecc17ff07c789a5a39d0fd8ce45766.zip gcc-28f6b1e4e2ecc17ff07c789a5a39d0fd8ce45766.tar.gz gcc-28f6b1e4e2ecc17ff07c789a5a39d0fd8ce45766.tar.bz2 |
tree-flow.h (struct fieldoff): Reformat comment.
* tree-flow.h (struct fieldoff): Reformat comment.
Document fields.
* tree-ssa-operands.c: Tidy top-level comments.
(add_vop): Likewise.
(add_vars_for_offset): Tidy parameter formatting..
(get_addr_dereference_operands): Likewise.
(get_indirect_ref_operands): Likewise.
(get_expr_operands) <OMP_ATOMIC_LOAD>: Reformat.
<OMP_ATOMIC_STORE>: Likewise.
From-SVN: r129956
Diffstat (limited to 'gcc/tree-flow.h')
-rw-r--r-- | gcc/tree-flow.h | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/gcc/tree-flow.h b/gcc/tree-flow.h index 6e7b88b..3421c14 100644 --- a/gcc/tree-flow.h +++ b/gcc/tree-flow.h @@ -1143,17 +1143,26 @@ rtx addr_for_mem_ref (struct mem_address *, bool); void get_address_description (tree, struct mem_address *); tree maybe_fold_tmr (tree); -/* This structure is simply used during pushing fields onto the fieldstack - to track the offset of the field, since bitpos_of_field gives it relative - to its immediate containing type, and we want it relative to the ultimate - containing object. */ +/* This structure is used during pushing fields onto the fieldstack + to track the offset of the field, since bitpos_of_field gives it + relative to its immediate containing type, and we want it relative + to the ultimate containing object. */ struct fieldoff { + /* Type of the field. */ tree type; + + /* Size, in bits, of the field. */ tree size; + + /* Field. */ tree decl; + + /* Offset from the base of the base containing object to this field. */ HOST_WIDE_INT offset; + + /* Alias set for the field. */ alias_set_type alias_set; }; typedef struct fieldoff fieldoff_s; |