Commit d8d27748 by Richard Kenner

(build_module_descriptor, really_start_method): Pass new parm to

start_function.

From-SVN: r9150
parent 60905ee8
/* Implement classes and message passing for Objective C. /* Implement classes and message passing for Objective C.
Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc. Copyright (C) 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
Author: Steve Naroff. Author: Steve Naroff.
This file is part of GNU CC. This file is part of GNU CC.
...@@ -1560,7 +1560,7 @@ build_module_descriptor () ...@@ -1560,7 +1560,7 @@ build_module_descriptor ()
tree_cons (NULL_TREE, NULL_TREE, tree_cons (NULL_TREE, NULL_TREE,
void_list_node), void_list_node),
NULL_TREE), NULL_TREE),
0); NULL_TREE, 0);
#if 0 /* This should be turned back on later #if 0 /* This should be turned back on later
for the systems where collect is not needed. */ for the systems where collect is not needed. */
/* Make these functions nonglobal /* Make these functions nonglobal
...@@ -6571,7 +6571,7 @@ really_start_method (method, parmlist) ...@@ -6571,7 +6571,7 @@ really_start_method (method, parmlist)
TREE_OPERAND (save_expr, 0) = method_decl; TREE_OPERAND (save_expr, 0) = method_decl;
method_decl = ret_decl; method_decl = ret_decl;
/* fool the parser into thinking it is starting a function */ /* fool the parser into thinking it is starting a function */
start_function (decl_specs, method_decl, 0); start_function (decl_specs, method_decl, NULL_TREE, 0);
/* unhook...this has the effect of restoring the abstract declarator */ /* unhook...this has the effect of restoring the abstract declarator */
TREE_OPERAND (save_expr, 0) = NULLT; TREE_OPERAND (save_expr, 0) = NULLT;
} }
...@@ -6579,7 +6579,7 @@ really_start_method (method, parmlist) ...@@ -6579,7 +6579,7 @@ really_start_method (method, parmlist)
{ {
TREE_VALUE (TREE_TYPE (method)) = method_decl; TREE_VALUE (TREE_TYPE (method)) = method_decl;
/* fool the parser into thinking it is starting a function */ /* fool the parser into thinking it is starting a function */
start_function (decl_specs, method_decl, 0); start_function (decl_specs, method_decl, NULL_TREE, 0);
/* unhook...this has the effect of restoring the abstract declarator */ /* unhook...this has the effect of restoring the abstract declarator */
TREE_VALUE (TREE_TYPE (method)) = NULLT; TREE_VALUE (TREE_TYPE (method)) = NULLT;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment