Hacker News new | ask | show | jobs
by timewizard 455 days ago
> can't optimize the activation records away

The stack frame also holds local variables. It's not just a return address. If your function requires 3 local variables then each call requires 3 stack slots.