aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc/c-tree.texi
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2001-10-11 17:38:08 -0700
committerRichard Henderson <rth@gcc.gnu.org>2001-10-11 17:38:08 -0700
commitbcb913fb9796b760eaee86cd2b5175392b022f6c (patch)
tree69277dc5ccf229b19ec0928b0916e77d57b2f1e7 /gcc/doc/c-tree.texi
parent45667f04a0f91e85ddc4aed8eff679d007cdc15f (diff)
downloadgcc-bcb913fb9796b760eaee86cd2b5175392b022f6c.zip
gcc-bcb913fb9796b760eaee86cd2b5175392b022f6c.tar.gz
gcc-bcb913fb9796b760eaee86cd2b5175392b022f6c.tar.bz2
* doc/c-tree.texi (Expression trees): Add VTABLE_REF.
From-SVN: r46218
Diffstat (limited to 'gcc/doc/c-tree.texi')
-rw-r--r--gcc/doc/c-tree.texi12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/doc/c-tree.texi b/gcc/doc/c-tree.texi
index 85962c7..9eccc0d 100644
--- a/gcc/doc/c-tree.texi
+++ b/gcc/doc/c-tree.texi
@@ -1741,6 +1741,7 @@ This macro returns the attributes on the type @var{type}.
@tindex EXIT_EXPR
@tindex CLEANUP_POINT_EXPR
@tindex ARRAY_REF
+@tindex VTABLE_REF
The internal representation for expressions is for the most part quite
straightforward. However, there are a few facts that one must bear in
@@ -2253,4 +2254,15 @@ list. In this case, the value of the expression is the @code{VAR_DECL}
given by the third operand to the @code{AGGR_INIT_EXPR}; constructors do
not return a value.
+@item VTABLE_REF
+A @code{VTABLE_REF} indicates that the interior expression computes
+a value that is a vtable entry. It is used with @option{-fvtable-gc}
+to track the reference through to front end to the middle end, at
+which point we transform this to a @code{REG_VTABLE_REF} note, which
+survives the balance of code generation.
+
+The first operand is the expression that computes the vtable reference.
+The second operand is the @code{VAR_DECL} of the vtable. The third
+operand is an @code{INTEGER_CST} of the byte offset into the vtable.
+
@end table