aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc/objc-act.c
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-07-12 03:06:32 +0000
committerRichard Stallman <rms@gnu.org>1992-07-12 03:06:32 +0000
commit0924ddefb68f223293640a250970a4e740ef6a8a (patch)
tree1f3fe2da663f6466d9f951ab711fb840657906ab /gcc/objc/objc-act.c
parent1394aabdaac22e52aec22bc95c2202cb71749b4e (diff)
downloadgcc-0924ddefb68f223293640a250970a4e740ef6a8a.zip
gcc-0924ddefb68f223293640a250970a4e740ef6a8a.tar.gz
gcc-0924ddefb68f223293640a250970a4e740ef6a8a.tar.bz2
Renamed TREE_INLINE, TREE_NONLOCAL, TREE_REGDECL, TREE_EXTERNAL.
to DECL_INLINE, DECL_NONLOCAL, DECL_REGISTER, DECL_EXTERNAL. From-SVN: r1570
Diffstat (limited to 'gcc/objc/objc-act.c')
-rw-r--r--gcc/objc/objc-act.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c
index 52db636..e5d271c 100644
--- a/gcc/objc/objc-act.c
+++ b/gcc/objc/objc-act.c
@@ -496,7 +496,7 @@ create_builtin_decl (code, type, name)
tree decl = build_decl (code, get_identifier (name), type);
if (code == VAR_DECL)
{
- TREE_EXTERNAL (decl) = 1;
+ DECL_EXTERNAL (decl) = 1;
TREE_PUBLIC (decl) = 1;
make_decl_rtl (decl, 0, 1);
pushdecl (decl);
@@ -903,7 +903,7 @@ build_module_descriptor ()
/* Find the name of some global object defined in this file. */
for (t = getdecls (); t; t = TREE_CHAIN (t))
- if (TREE_PUBLIC (t) && !TREE_EXTERNAL (t) && DECL_INITIAL (t) != 0)
+ if (TREE_PUBLIC (t) && !DECL_EXTERNAL (t) && DECL_INITIAL (t) != 0)
{
global_object_name = IDENTIFIER_POINTER (DECL_NAME (t));
break;
@@ -945,7 +945,7 @@ build_module_descriptor ()
function_decl = build_decl (FUNCTION_DECL,
get_identifier ("__objc_execClass"),
function_type);
- TREE_EXTERNAL (function_decl) = 1;
+ DECL_EXTERNAL (function_decl) = 1;
TREE_PUBLIC (function_decl) = 1;
pushdecl (function_decl);
rest_of_decl_compilation (function_decl, 0, 0, 0);
@@ -1083,7 +1083,7 @@ build_selector_reference (idx)
else
{
decl = build_decl (VAR_DECL, ident, selector_type);
- TREE_EXTERNAL (decl) = 1;
+ DECL_EXTERNAL (decl) = 1;
TREE_PUBLIC (decl) = 1;
TREE_USED (decl) = 1;
@@ -5052,7 +5052,7 @@ handle_class_ref (chain)
/* Make a decl for this name, so we can use its address in a tree. */
decl = build_decl (VAR_DECL, get_identifier (string), char_type_node);
- TREE_EXTERNAL (decl) = 1;
+ DECL_EXTERNAL (decl) = 1;
TREE_PUBLIC (decl) = 1;
pushdecl (decl);