1. A method for aligning stack memory in a data processing system wherein the stack memory provides temporary storage for storing data during a call to a function having one or more parameters, said method comprising the steps of: (a) determining if any one of said parameters are of a selected type; (b) if a parameter is of said selected type, generating code for aligning said parameter on a special boundary in the stack memory and said aligned parameter providing a reference point in the stack memory for said function being called for aligning variables local to said called function; (c) generating code for aligning the parameters not being of said selected type on a default boundary in the stack memory.