Commit 8a40280d by Diego Novillo Committed by Diego Novillo

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

From-SVN: r92046
parent 7d7b8bfe
2004-12-12 Diego Novillo <dnovillo@redhat.com>
* tree-gimple.c (get_base_address): Update documentation.
2004-12-12 Kazu Hirata <kazu@cs.umass.edu> 2004-12-12 Kazu Hirata <kazu@cs.umass.edu>
* lcm.c (optimize_mode_switching): Free ptr even when mode_set * lcm.c (optimize_mode_switching): Free ptr even when mode_set
......
...@@ -419,10 +419,7 @@ get_call_expr_in (tree t) ...@@ -419,10 +419,7 @@ get_call_expr_in (tree t)
return NULL_TREE; return NULL_TREE;
} }
/* Given a memory reference expression, return the base address. Note that, /* Given a memory reference expression T, return its base address. */
in contrast with get_base_var, this will not recurse inside INDIRECT_REF
expressions. Therefore, given the reference PTR->FIELD, this function
will return *PTR. Whereas get_base_var would've returned PTR. */
tree tree
get_base_address (tree t) 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