summaryrefslogtreecommitdiff
path: root/gcc/function.h
diff options
context:
space:
mode:
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-03 19:58:40 +0000
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-03 19:58:40 +0000
commit500c0c93ed630557b2462f87ae3662ee87e0d37c (patch)
tree3d686174201329a100ae99ae55e9028cf9b316c6 /gcc/function.h
parent325d776d57cef6fdd6265a9b9b7424ad57f7c279 (diff)
downloadgcc-500c0c93ed630557b2462f87ae3662ee87e0d37c.tar.gz
Fix messed up accidental commit.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75368 138bc75d-0d04-0410-961f-82ee72b054a4
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 a8c5233d599..89a1465ad0a 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)