From ca35b54689a78580ed15f0cd1b9cd9e5a2b787dd Mon Sep 17 00:00:00 2001 From: Steven Bosscher Date: Sat, 3 Jan 2004 19:58:40 +0000 Subject: Fix messed up accidental commit. From-SVN: r75368 --- gcc/function.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gcc/function.h') diff --git a/gcc/function.h b/gcc/function.h index a8c5233..89a1465 100644 --- a/gcc/function.h +++ b/gcc/function.h @@ -183,6 +183,9 @@ struct function GTY(()) /* For function.c. */ + /* Name of this function. */ + const char *name; + /* Points to the FUNCTION_DECL of this function. */ tree decl; @@ -531,6 +534,7 @@ 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) -- cgit v1.1