NO_LOCAL_POINTERS only applys pointers to heap?

Then why it is not needed if the function does not making callings?