Commit 370d199d by Diego Novillo Committed by Diego Novillo

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

From-SVN: r92134
parent 0b16f8f4
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
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment