CompuServe Messages

#C++ &-Referencing

    07-Mar-90 15:58:29
Fm: John M. Dlugosz 74066,3717
To: Bob Goldrich 73427,2414
The hidden parameter is used for normal functions. The static area (no hidden parameter) is used for variadic functions. No temps? You've got to put intermediate results _somewhere_. Consider c=a+b+c; the result from a+b has to be stored somewhere (won't fit in a register!) and that object then used as a paramter when adding in c. And yes, the temp is on the stack. And a pointer to that temp is passed in to the function so it know where to put it. Tale a look at the disassembled code. –John