aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorXinliang David Li <davidxl@google.com>2011-04-22 00:03:41 +0000
committerXinliang David Li <davidxl@gcc.gnu.org>2011-04-22 00:03:41 +0000
commit903d1e67c4c6a102fb932a1c3dde084248a8dabf (patch)
treeb1de1237c40a1783f8ec27a4d0b43d7764263cf2 /gcc/function.c
parent7378e95ff1863346c11ac486189dde1eaa56a794 (diff)
downloadgcc-903d1e67c4c6a102fb932a1c3dde084248a8dabf.zip
gcc-903d1e67c4c6a102fb932a1c3dde084248a8dabf.tar.gz
gcc-903d1e67c4c6a102fb932a1c3dde084248a8dabf.tar.bz2
Remove cgraph pid
From-SVN: r172848
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/function.c b/gcc/function.c
index d7d56dd..1ba9dbb 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -4378,6 +4378,13 @@ get_next_funcdef_no (void)
return funcdef_no++;
}
+/* Return value of funcdef. */
+int
+get_last_funcdef_no (void)
+{
+ return funcdef_no;
+}
+
/* Allocate a function structure for FNDECL and set its contents
to the defaults. Set cfun to the newly-allocated object.
Some of the helper functions invoked during initialization assume