aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/cp-tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/cp-tree.h')
-rw-r--r--gcc/cp/cp-tree.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index 5b49925..e2c94f2 100644
--- a/gcc/cp/cp-tree.h
+++ b/gcc/cp/cp-tree.h
@@ -708,7 +708,7 @@ struct language_function GTY(())
{
struct c_language_function base;
- tree x_dtor_label;
+ tree x_cdtor_label;
tree x_current_class_ptr;
tree x_current_class_ref;
tree x_eh_spec_block;
@@ -735,10 +735,12 @@ struct language_function GTY(())
#define cp_function_chain (cfun->language)
-/* In a destructor, the point at which all derived class destroying
- has been done, just before any base class destroying will be done. */
+/* In a constructor destructor, the point at which all derived class
+ destroying/contruction has been has been done. Ie. just before a
+ constuctor returns, or before any base class destroying will be done
+ in a destructor. */
-#define dtor_label cp_function_chain->x_dtor_label
+#define cdtor_label cp_function_chain->x_cdtor_label
/* When we're processing a member function, current_class_ptr is the
PARM_DECL for the `this' pointer. The current_class_ref is an