Commit db6b2186 by Richard Kenner

(expand_inline_function): Push and pop temp slots around making new

temp slots and freeing them.

From-SVN: r5525
parent 0088fcb1
...@@ -1353,6 +1353,7 @@ expand_inline_function (fndecl, parms, target, ignore, type, structure_value_add ...@@ -1353,6 +1353,7 @@ expand_inline_function (fndecl, parms, target, ignore, type, structure_value_add
register number fits in const_equiv_map. Then we store all non-register register number fits in const_equiv_map. Then we store all non-register
parameters into their memory location. */ parameters into their memory location. */
push_temp_slots ();
for (i = 0; i < nargs; i++) for (i = 0; i < nargs; i++)
{ {
rtx copy = arg_vals[i]; rtx copy = arg_vals[i];
...@@ -1459,6 +1460,8 @@ expand_inline_function (fndecl, parms, target, ignore, type, structure_value_add ...@@ -1459,6 +1460,8 @@ expand_inline_function (fndecl, parms, target, ignore, type, structure_value_add
} }
} }
pop_temp_slots ();
/* Deal with the places that the function puts its result. /* Deal with the places that the function puts its result.
We are driven by what is placed into DECL_RESULT. We are driven by what is placed into DECL_RESULT.
......
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