This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I can give a shot.
One way to do it, is the adding a new target hook, something like, target_get_frame_size() which will return the actual frame size of a function (the hook will work only after prologue and epilogue are generated of course). This means targets will have to independently remember the frame size somehow, or be able to calculate it. If the target doesn't implement one, we can fall back to get_frame_size() in function.c.
-- Mark Mitchell CodeSourcery mark@codesourcery.com (650) 331-3385 x713
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |