diff options
author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1995-03-02 03:33:25 +0000 |
---|---|---|
committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1995-03-02 03:33:25 +0000 |
commit | 5109c4c3cec3a1cda98415706db3f95f92542bd3 (patch) | |
tree | c4ea5bd9a29aec280cee77ce92d3c59232276d6a /gcc/tree.c | |
parent | f93904460c84709a7073b1b1a8cc5c0a6e86fe6d (diff) | |
download | gcc-5109c4c3cec3a1cda98415706db3f95f92542bd3.tar.gz |
Remove Feb 28's FUNCTION_NEEDS_STATIC_CHAIN changes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9106 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree.c b/gcc/tree.c index ff229ac9e2a..cdbba0ce2a9 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -1969,7 +1969,7 @@ staticp (arg) case FUNCTION_DECL: /* Nested functions aren't static, since taking their address involves a trampoline. */ - return ! FUNCTION_NEEDS_STATIC_CHAIN (arg); + return decl_function_context (arg) == 0; case VAR_DECL: return TREE_STATIC (arg) || DECL_EXTERNAL (arg); |