aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.h
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2004-01-03 19:58:40 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2004-01-03 19:58:40 +0000
commitca35b54689a78580ed15f0cd1b9cd9e5a2b787dd (patch)
tree3d686174201329a100ae99ae55e9028cf9b316c6 /gcc/function.h
parentc5d1156b32432f680505056a6832b1ac16b16a21 (diff)
downloadgcc-ca35b54689a78580ed15f0cd1b9cd9e5a2b787dd.zip
gcc-ca35b54689a78580ed15f0cd1b9cd9e5a2b787dd.tar.gz
gcc-ca35b54689a78580ed15f0cd1b9cd9e5a2b787dd.tar.bz2
Fix messed up accidental commit.
From-SVN: r75368
Diffstat (limited to 'gcc/function.h')
-rw-r--r--gcc/function.h4
1 files changed, 4 insertions, 0 deletions
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)