* tree-gimple.c (get_base_address): Update documentation.

From-SVN: r92134
This commit is contained in:
Diego Novillo 2004-12-14 13:41:52 +00:00 committed by Diego Novillo
parent 0b16f8f413
commit 370d199d82
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-12-14 Diego Novillo <dnovillo@redhat.com>
* tree-gimple.c (get_base_address): Update documentation.
2004-12-13 Richard Henderson <rth@redhat.com>
PR middle-end/17930

View File

@ -419,7 +419,14 @@ get_call_expr_in (tree t)
return NULL_TREE;
}
/* Given a memory reference expression T, return its base address. */
/* Given a memory reference expression T, return its base address.
The base address of a memory reference expression is the main
object being referenced. For instance, the base address for
'array[i].fld[j]' is 'array'. You can think of this as stripping
away the offset part from a memory address.
This function calls handled_component_p to strip away all the inner
parts of the memory reference until it reaches the base object. */
tree
get_base_address (tree t)