aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/class.c
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@cygnus.co.uk>1999-08-09 14:00:21 +0000
committerBernd Schmidt <crux@gcc.gnu.org>1999-08-09 14:00:21 +0000
commit49ad7cfa7ac804b56cff13d70022020126f24c55 (patch)
tree0c9ea6c13240638f450e4b7c92af4127356208c0 /gcc/cp/class.c
parent0dde4175efc346c70069a8a090590d3e63be04fa (diff)
downloadgcc-49ad7cfa7ac804b56cff13d70022020126f24c55.zip
gcc-49ad7cfa7ac804b56cff13d70022020126f24c55.tar.gz
gcc-49ad7cfa7ac804b56cff13d70022020126f24c55.tar.bz2
Include function.h in most files.
Include function.h in most files. Remove most of the global variables duplicated in function.h. Add accessor macros for them which access current_function. Delete INLINE_HEADER rtx and related code, replace with code using struct function to store inlining related data. From-SVN: r28626
Diffstat (limited to 'gcc/cp/class.c')
-rw-r--r--gcc/cp/class.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cp/class.c b/gcc/cp/class.c
index 28ef03f..a33c889 100644
--- a/gcc/cp/class.c
+++ b/gcc/cp/class.c
@@ -3404,7 +3404,7 @@ finish_struct_1 (t)
if the insn `r' member and the size `i' member are
different sizes, as on the alpha, the larger of the two
will end up with garbage in it. */
- DECL_SAVED_INSNS (x) = NULL_RTX;
+ DECL_SAVED_INSNS (x) = 0;
DECL_FIELD_SIZE (x) = 0;
check_for_override (x, t);
@@ -3503,7 +3503,7 @@ finish_struct_1 (t)
if (type == error_mark_node)
continue;
- DECL_SAVED_INSNS (x) = NULL_RTX;
+ DECL_SAVED_INSNS (x) = 0;
DECL_FIELD_SIZE (x) = 0;
/* When this goes into scope, it will be a non-local reference. */
@@ -3871,7 +3871,7 @@ finish_struct_1 (t)
DECL_FIELD_CONTEXT (vfield) = t;
DECL_CLASS_CONTEXT (vfield) = t;
DECL_FCONTEXT (vfield) = t;
- DECL_SAVED_INSNS (vfield) = NULL_RTX;
+ DECL_SAVED_INSNS (vfield) = 0;
DECL_FIELD_SIZE (vfield) = 0;
DECL_ALIGN (vfield) = TYPE_ALIGN (ptr_type_node);
#if 0