Mercurial > hg > CbC > CbC_gcc
diff gcc/emit-rtl.h @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 84e7813d76e9 |
children |
line wrap: on
line diff
--- a/gcc/emit-rtl.h Thu Oct 25 07:37:49 2018 +0900 +++ b/gcc/emit-rtl.h Thu Feb 13 11:34:05 2020 +0900 @@ -1,5 +1,5 @@ /* Exported functions from emit-rtl.c - Copyright (C) 2004-2018 Free Software Foundation, Inc. + Copyright (C) 2004-2020 Free Software Foundation, Inc. This file is part of GCC. @@ -20,8 +20,9 @@ #ifndef GCC_EMIT_RTL_H #define GCC_EMIT_RTL_H -struct temp_slot; -typedef struct temp_slot *temp_slot_p; +class temp_slot; +typedef class temp_slot *temp_slot_p; +class predefined_function_abi; /* Information mainlined about RTL representation of incoming arguments. */ struct GTY(()) incoming_args { @@ -64,6 +65,14 @@ struct function_subsections subsections; struct rtl_eh eh; + /* The ABI of the function, i.e. the interface it presents to its callers. + This is the ABI that should be queried to see which registers the + function needs to save before it uses them. + + Other functions (including those called by this function) might use + different ABIs. */ + const predefined_function_abi *GTY((skip)) abi; + /* For function.c */ /* # of bytes of outgoing arguments. If ACCUMULATE_OUTGOING_ARGS is @@ -87,6 +96,10 @@ Used for detecting stack clobbers. */ tree stack_protect_guard; + /* The __stack_chk_guard variable or expression holding the stack + protector canary value. */ + tree stack_protect_guard_decl; + /* List (chain of INSN_LIST) of labels heading the current handlers for nonlocal gotos. */ rtx_insn_list *x_nonlocal_goto_handler_labels; @@ -106,7 +119,7 @@ vec<rtx, va_gc> *x_stack_slot_list; /* List of empty areas in the stack frame. */ - struct frame_space *frame_space_list; + class frame_space *frame_space_list; /* Place after which to insert the tail_recursion_label if we need one. */ rtx_note *x_stack_check_probe_note; @@ -132,7 +145,7 @@ vec<temp_slot_p, va_gc> *x_used_temp_slots; /* List of available temp slots. */ - struct temp_slot *x_avail_temp_slots; + class temp_slot *x_avail_temp_slots; /* Current nesting level for temporaries. */ int x_temp_slot_level; @@ -245,7 +258,7 @@ /* True if dbr_schedule has already been called for this function. */ bool dbr_scheduled_p; - /* True if current function can not throw. Unlike + /* True if current function cannot throw. Unlike TREE_NOTHROW (current_function_decl) it is set even for overwritable function where currently compiled version of it is nothrow. */ bool nothrow; @@ -315,7 +328,7 @@ #define crtl (&x_rtl) /* Return whether two MEM_ATTRs are equal. */ -bool mem_attrs_eq_p (const struct mem_attrs *, const struct mem_attrs *); +bool mem_attrs_eq_p (const class mem_attrs *, const class mem_attrs *); /* Set the alias set of MEM to SET. */ extern void set_mem_alias_set (rtx, alias_set_type);