This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ia32: prologue_epilogue_contains
- To: rth at cygnus dot com
- Subject: Re: ia32: prologue_epilogue_contains
- From: John Wehle <john at feith dot com>
- Date: Sun, 8 Aug 1999 01:26:18 -0400 (EDT)
- Cc: gcc-patches at gcc dot gnu dot org
> Oh, I see. Feel free to submit a patch to update the arrays.
Off hand I don't see a way to realloc an obstack object. Okay
to just allocate a new (larger) array when necessary? This
will waste some space on the obstack, however I'm assuming:
1) The prologue and epilogue are typically fairly small.
2) Prologue and epilogue insns will not be split that often.
3) The space on the obstack will be reclaimed at the end of
the function.
-- John
-------------------------------------------------------------------------
| Feith Systems | Voice: 1-215-646-8000 | Email: john@feith.com |
| John Wehle | Fax: 1-215-540-5495 | |
-------------------------------------------------------------------------