inline_attribute (decl)
register tree decl;
{
- if (TREE_INLINE (decl))
+ if (DECL_INLINE (decl))
{
ASM_OUTPUT_DWARF_ATTRIBUTE (asm_out_file, AT_inline);
ASM_OUTPUT_DWARF_STRING (asm_out_file, "");
equate_decl_number_to_die_number (decl);
else
{
- if (! TREE_EXTERNAL (decl))
+ if (! DECL_EXTERNAL (decl))
{
char func_end_label[MAX_ARTIFICIAL_LABEL_BYTES];
equate_decl_number_to_die_number (decl);
else
{
- if (!TREE_EXTERNAL (decl))
+ if (!DECL_EXTERNAL (decl))
location_or_const_value_attribute (decl);
}
}
to the DWARF version 1 specification, don't output DIEs for
mere external function declarations. */
- if (TREE_EXTERNAL (decl))
+ if (DECL_EXTERNAL (decl))
#if (DWARF_VERSION > 1)
if (debug_info_level <= DINFO_LEVEL_TERSE)
#endif
/* Now output a DIE to represent the function itself. */
- output_die (TREE_PUBLIC (decl) || TREE_EXTERNAL (decl)
+ output_die (TREE_PUBLIC (decl) || DECL_EXTERNAL (decl)
? output_global_subroutine_die
: output_local_subroutine_die,
decl);
we need to do here (and all we *can* do here) is to describe
the *types* of its formal parameters. */
- if (TREE_EXTERNAL (decl))
+ if (DECL_EXTERNAL (decl))
output_formal_types (TREE_TYPE (decl));
else
{
generated any DIEs to represent mere external object declarations. */
#if (DWARF_VERSION <= 1)
- if (TREE_EXTERNAL (decl) && ! TREE_PUBLIC (decl))
+ if (DECL_EXTERNAL (decl) && ! TREE_PUBLIC (decl))
break;
#endif
func = output_formal_parameter_die;
else
{
- if (TREE_PUBLIC (decl) || TREE_EXTERNAL (decl))
+ if (TREE_PUBLIC (decl) || DECL_EXTERNAL (decl))
func = output_global_variable_die;
else
func = output_local_variable_die;
a builtin function. Explicit programmer-supplied declarations of
these same functions should NOT be ignored however. */
- if (TREE_EXTERNAL (decl) && DECL_FUNCTION_CODE (decl))
+ if (DECL_EXTERNAL (decl) && DECL_FUNCTION_CODE (decl))
return;
/* Ignore this FUNCTION_DECL if it refers to a file-scope extern
lookup mechanism and cause it to miss things which really ought
to be in scope at a given point. */
- if (TREE_EXTERNAL (decl) && !TREE_USED (decl))
+ if (DECL_EXTERNAL (decl) && !TREE_USED (decl))
return;
if (TREE_PUBLIC (decl)
- && ! TREE_EXTERNAL (decl)
+ && ! DECL_EXTERNAL (decl)
&& ! DECL_ABSTRACT (decl))
{
char label[MAX_ARTIFICIAL_LABEL_BYTES];
lookup mechanism and cause it to miss things which really ought
to be in scope at a given point. */
- if (TREE_EXTERNAL (decl) && !TREE_USED (decl))
+ if (DECL_EXTERNAL (decl) && !TREE_USED (decl))
return;
if (TREE_PUBLIC (decl)
- && ! TREE_EXTERNAL (decl)
+ && ! DECL_EXTERNAL (decl)
&& GET_CODE (DECL_RTL (decl)) == MEM
&& ! DECL_ABSTRACT (decl))
{
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);
/* 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;
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);
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;
/* 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);