A frame pointer is sometimes omitted from generated code in order to
Answer: C
Correct answer: free one more register for allocation to values
The frame pointer occupies a register solely to make the frame layout easy to follow, and where the frame size is known at compile time the stack pointer alone will serve. Omitting it recovers a register, which on a machine with few of them is worth having - at the cost of making stack traces harder to reconstruct.
Please log in or register to report this question.