diff options
Diffstat (limited to 'gcc/function.h')
-rw-r--r-- | gcc/function.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/function.h b/gcc/function.h index 89a1465..088fbbb 100644 --- a/gcc/function.h +++ b/gcc/function.h @@ -183,9 +183,6 @@ struct function GTY(()) /* For function.c. */ - /* Name of this function. */ - const char *name; - /* Points to the FUNCTION_DECL of this function. */ tree decl; @@ -534,7 +531,6 @@ extern int virtuals_instantiated; extern int trampolines_created; /* For backward compatibility... eventually these should all go away. */ -#define current_function_name (cfun->name) #define current_function_pops_args (cfun->pops_args) #define current_function_returns_struct (cfun->returns_struct) #define current_function_returns_pcc_struct (cfun->returns_pcc_struct) @@ -638,6 +634,9 @@ extern rtx get_arg_pointer_save_area (struct function *); extern void init_virtual_regs (struct emit_status *); +/* Returns the name of the current function. */ +extern const char *current_function_name (void); + /* Called once, at initialization, to initialize function.c. */ extern void init_function_once (void); |